Re: [xml] patch to stop core dump on solaris



On Thu, Apr 26, 2001 at 06:37:47PM +0100, Sander Vesik wrote:

Index: valid.c
===================================================================
RCS file: /cvs/gnome/gnome-xml/valid.c,v
retrieving revision 1.68
diff -u -r1.68 valid.c
--- valid.c   2001/04/23 13:41:34     1.68
+++ valid.c   2001/04/26 17:07:20
@@ -3286,7 +3286,7 @@
      return(1);
     }
     if (CONT == NULL) return(-1);
-    if (NODE->type == XML_ENTITY_REF_NODE)
+    if ((NODE != NULL) && (NODE->type == XML_ENTITY_REF_NODE))
      return(-2);

  Okay i already found and fixed it in CVS :-)

    thanks for the patch !

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]