r17973 - in /desktop/unstable/liboobs/debian: changelog patches/ patches/01_smb_crash.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Wed Dec 24 10:26:22 UTC 2008


Author: joss
Date: Wed Dec 24 10:26:22 2008
New Revision: 17973

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17973
Log:
01_smb_crash.patch: new patch. Fix NULL pointer dereference by 
checking the pointer before using it. Closes: #509564.

Added:
    desktop/unstable/liboobs/debian/patches/
    desktop/unstable/liboobs/debian/patches/01_smb_crash.patch
Modified:
    desktop/unstable/liboobs/debian/changelog

Modified: desktop/unstable/liboobs/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/liboobs/debian/changelog?rev=17973&op=diff
==============================================================================
--- desktop/unstable/liboobs/debian/changelog (original)
+++ desktop/unstable/liboobs/debian/changelog Wed Dec 24 10:26:22 2008
@@ -1,3 +1,10 @@
+liboobs (2.22.0-2) unstable; urgency=low
+
+  * 01_smb_crash.patch: new patch. Fix NULL pointer dereference by 
+    checking the pointer before using it. Closes: #509564.
+
+ -- Josselin Mouette <joss at debian.org>  Wed, 24 Dec 2008 11:23:46 +0100
+
 liboobs (2.22.0-1) unstable; urgency=low
 
   * New upstream release.

Added: desktop/unstable/liboobs/debian/patches/01_smb_crash.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/liboobs/debian/patches/01_smb_crash.patch?rev=17973&op=file
==============================================================================
--- desktop/unstable/liboobs/debian/patches/01_smb_crash.patch (added)
+++ desktop/unstable/liboobs/debian/patches/01_smb_crash.patch Wed Dec 24 10:26:22 2008
@@ -1,0 +1,11 @@
+--- oobs/oobs-share-smb.c.orig	2008-12-24 11:20:40.884448022 +0100
++++ oobs/oobs-share-smb.c	2008-12-24 11:20:43.148442400 +0100
+@@ -336,7 +336,7 @@
+ 		    const gchar       *comment,
+ 		    OobsShareSMBFlags  flags)
+ {
+-  g_return_val_if_fail (path[0] == '/', NULL);
++  g_return_val_if_fail (path != NULL && path[0] == '/', NULL);
+ 
+   return g_object_new (OOBS_TYPE_SHARE_SMB,
+ 		       "name",    name,




More information about the pkg-gnome-commits mailing list