bug-buddy r2541 - in trunk: . src
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: bug-buddy r2541 - in trunk: . src
- Date: Mon, 14 Jul 2008 18:04:53 +0000 (UTC)
Author: cosimoc
Date: Mon Jul 14 18:04:53 2008
New Revision: 2541
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2541&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:
trunk/ChangeLog
trunk/src/bugzilla.c
Modified: trunk/src/bugzilla.c
==============================================================================
--- trunk/src/bugzilla.c (original)
+++ trunk/src/bugzilla.c Mon Jul 14 18:04:53 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]