* glib/gtester.c: Allocate enough space for argv. Patch by
Hiroyuki Ikezoe
svn path=/trunk/; revision=6832
+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>
* glib/gmain.c: Make the fix for bug 448943 work.
argc++;
/* setup argv */
- argv = g_malloc ((argc + 1) * sizeof(gchar *));
+ argv = g_malloc ((argc + 2) * sizeof(gchar *));
argv[i++] = binary;
for (slist = subtest_args; slist; slist = slist->next)
argv[i++] = (gchar*) slist->data;