mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Bug 526619 – make test-report crash
* glib/gtester.c: Allocate enough space for argv. Patch by Hiroyuki Ikezoe svn path=/trunk/; revision=6832
This commit is contained in:
parent
f0ba12f19f
commit
a5aadf0914
@ -1,3 +1,10 @@
|
|||||||
|
2008-04-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 526619 – make test-report crash
|
||||||
|
|
||||||
|
* glib/gtester.c: Allocate enough space for argv. Patch by
|
||||||
|
Hiroyuki Ikezoe
|
||||||
|
|
||||||
2008-04-04 Matthias Clasen <mclasen@redhat.com>
|
2008-04-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c: Make the fix for bug 448943 work.
|
* glib/gmain.c: Make the fix for bug 448943 work.
|
||||||
|
@ -317,7 +317,7 @@ launch_test_binary (const char *binary,
|
|||||||
argc++;
|
argc++;
|
||||||
|
|
||||||
/* setup argv */
|
/* setup argv */
|
||||||
argv = g_malloc ((argc + 1) * sizeof(gchar *));
|
argv = g_malloc ((argc + 2) * sizeof(gchar *));
|
||||||
argv[i++] = binary;
|
argv[i++] = binary;
|
||||||
for (slist = subtest_args; slist; slist = slist->next)
|
for (slist = subtest_args; slist; slist = slist->next)
|
||||||
argv[i++] = (gchar*) slist->data;
|
argv[i++] = (gchar*) slist->data;
|
||||||
|
Loading…
Reference in New Issue
Block a user