Tomas
Aleksey Sanin wrote:
You are absolutely right, it is a bug :( But the patch is actually can be much more simple:
just remove one un-necessary assert :)
Thanks for reporting the bug! Aleksey
Index: src/xmltree.c
===================================================================
RCS file: /cvs/gnome/xmlsec/src/xmltree.c,v
retrieving revision 1.33
diff -u -r1.33 xmltree.c
--- src/xmltree.c 8 Feb 2004 06:43:38 -0000 1.33
+++ src/xmltree.c 9 Feb 2004 16:38:22 -0000
@@ -515,7 +515,6 @@
xmlNodePtr ptr1, ptr2;
xmlSecAssert2(node != NULL, -1);
- xmlSecAssert2(buffer != NULL, -1);
doc = xmlSecParseMemoryExt((xmlSecByte*)dummyPrefix, strlen(dummyPrefix),
buffer, size,
_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
