SOURCES: wbxml2-r59.patch (NEW) - fix for segfault (http://libwbxml.aymeric...

sls sls at pld-linux.org
Wed Oct 22 21:08:08 CEST 2008


Author: sls                          Date: Wed Oct 22 19:08:08 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for segfault (http://libwbxml.aymerick.com/changeset/59)

---- Files affected:
SOURCES:
   wbxml2-r59.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/wbxml2-r59.patch
diff -u /dev/null SOURCES/wbxml2-r59.patch:1.1
--- /dev/null	Wed Oct 22 21:08:09 2008
+++ SOURCES/wbxml2-r59.patch	Wed Oct 22 21:08:03 2008
@@ -0,0 +1,22 @@
+Index: /wbxml2/trunk/ChangeLog
+===================================================================
+--- /wbxml2/trunk/ChangeLog (revision 58)
++++ /wbxml2/trunk/ChangeLog (revision 59)
+@@ -4,4 +4,6 @@
+     linux box anymore to test. So if you have issues when compiling on linux, send me
+     a mail please.
++  * Fixing bug causing a segfault, and reported on debian bug tracking:
++    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310621
+ 
+ 2006-07-10  Aymerick Jehanne <aymerick at jehanne.org>
+Index: /wbxml2/trunk/src/wbxml_encoder.c
+===================================================================
+--- /wbxml2/trunk/src/wbxml_encoder.c (revision 57)
++++ /wbxml2/trunk/src/wbxml_encoder.c (revision 59)
+@@ -1901,5 +1901,5 @@
+      */
+ 
+-    if (ctx == WBXML_VALUE_ELEMENT_CTX_ATTR) {
++    if ((ctx == WBXML_VALUE_ELEMENT_CTX_ATTR) && (encoder->current_attr != NULL)) {
+         switch (encoder->lang->langID) {
+ #if defined( WBXML_SUPPORT_SI )
================================================================


More information about the pld-cvs-commit mailing list