[maemo-commits] [maemo-commits] r14498 - in projects/haf/trunk/dbus/debian: . patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Oct 18 12:53:17 EEST 2007
- Previous message: [maemo-commits] r14497 - in projects/haf/trunk/dbus/debian: . patches
- Next message: [maemo-commits] r14499 - in projects/haf/trunk/dbus/debian: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala
Date: 2007-10-18 12:53:15 +0300 (Thu, 18 Oct 2007)
New Revision: 14498
Added:
projects/haf/trunk/dbus/debian/patches/21-add-missing-va_end.patch
Modified:
projects/haf/trunk/dbus/debian/changelog
Log:
added a missing va_end to dbus_set_error
Modified: projects/haf/trunk/dbus/debian/changelog
===================================================================
--- projects/haf/trunk/dbus/debian/changelog 2007-10-18 08:21:40 UTC (rev 14497)
+++ projects/haf/trunk/dbus/debian/changelog 2007-10-18 09:53:15 UTC (rev 14498)
@@ -6,6 +6,7 @@
* Fixed a double free which could have happened after calling
_dbus_connection_close_if_only_one_ref. Discovered by statical code
analysis.
+ * Added a missing va_end call to dbus_set_error.
-- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> Thu, 18 Oct 2007 11:21:11 +0300
Added: projects/haf/trunk/dbus/debian/patches/21-add-missing-va_end.patch
===================================================================
--- projects/haf/trunk/dbus/debian/patches/21-add-missing-va_end.patch 2007-10-18 08:21:40 UTC (rev 14497)
+++ projects/haf/trunk/dbus/debian/patches/21-add-missing-va_end.patch 2007-10-18 09:53:15 UTC (rev 14498)
@@ -0,0 +1,11 @@
+diff -pur dbus-1.0.2/dbus/dbus-errors.c dbus-1.0.2.new/dbus/dbus-errors.c
+--- dbus-1.0.2/dbus/dbus-errors.c 2006-12-11 21:21:07.000000000 +0200
++++ dbus-1.0.2.new/dbus/dbus-errors.c 2007-10-18 12:49:31.839392256 +0300
+@@ -360,6 +360,7 @@ dbus_set_error (DBusError *error,
+ if (!_dbus_string_append_printf_valist (&str, format, args))
+ {
+ _dbus_string_free (&str);
++ va_end (args);
+ goto nomem;
+ }
+ va_end (args);
- Previous message: [maemo-commits] r14497 - in projects/haf/trunk/dbus/debian: . patches
- Next message: [maemo-commits] r14499 - in projects/haf/trunk/dbus/debian: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
