1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

fix bug #125592 need a NULL check rename a parameter Daniel

* testSAX.c: fix bug #125592 need a NULL check
* include/libxml/chvalid.h: rename a parameter
Daniel
This commit is contained in:
Daniel Veillard 2003-10-27 16:23:43 +00:00
parent 95d2d5b1cf
commit 4772af6c74
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 27 11:11:29 EST 2003 Daniel Veillard <daniel@veillard.com>
* testSAX.c: fix bug #125592 need a NULL check
* include/libxml/chvalid.h: rename a parameter
Mon Oct 27 09:43:48 EST 2003 Daniel Veillard <daniel@veillard.com>
* parser.c: applied patch from #123105 about defaulted attributes

View File

@ -50,7 +50,7 @@ struct _xmlChRangeGroup {
* Range checking routine
*/
XMLPUBFUN int XMLCALL
xmlCharInRange(unsigned int val, const xmlChRangeGroupPtr group);
xmlCharInRange(unsigned int val, const xmlChRangeGroupPtr rptr);
/**

View File

@ -557,8 +557,12 @@ processingInstructionDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *target,
callbacks++;
if (quiet)
return;
fprintf(stdout, "SAX.processingInstruction(%s, %s)\n",
(char *) target, (char *) data);
if (data != NULL)
fprintf(stdout, "SAX.processingInstruction(%s, %s)\n",
(char *) target, (char *) data);
else
fprintf(stdout, "SAX.processingInstruction(%s, NULL)\n",
(char *) target);
}
/**