bug-buddy r2542 - in branches/gnome-2-22: . src
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: bug-buddy r2542 - in branches/gnome-2-22: . src
- Date: Mon, 14 Jul 2008 18:07:44 +0000 (UTC)
Author: cosimoc
Date: Mon Jul 14 18:07:43 2008
New Revision: 2542
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2542&view=rev
Log:
2008-07-14 Cosimo Cecchi <cosimoc gnome org>
* src/bugzilla.c: (bugzilla_create_report):
Initialize the GError to NULL to avoid reading of uninitialized memory.
Patch from Hans Petter Jansson (#484737).
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/src/bugzilla.c
Modified: branches/gnome-2-22/src/bugzilla.c
==============================================================================
--- branches/gnome-2-22/src/bugzilla.c (original)
+++ branches/gnome-2-22/src/bugzilla.c Mon Jul 14 18:07:43 2008
@@ -566,7 +566,7 @@
if (minidump_file) {
gchar *minidumpbuf;
gsize length;
- GError *error;
+ GError *error = NULL;
gchar *base64 = NULL;
if (g_file_get_contents (minidump_file, &minidumpbuf, &length, &error)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]