mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
strengthen the guard in the Pop macros, like in the XML parser, closes bug
* HTMLparser.c: strengthen the guard in the Pop macros, like in the XML parser, closes bug #97315 Daniel
This commit is contained in:
@ -84,7 +84,7 @@ scope int html##name##Push(htmlParserCtxtPtr ctxt, type value) { \
|
||||
} \
|
||||
scope type html##name##Pop(htmlParserCtxtPtr ctxt) { \
|
||||
type ret; \
|
||||
if (ctxt->name##Nr < 0) return(0); \
|
||||
if (ctxt->name##Nr <= 0) return(0); \
|
||||
ctxt->name##Nr--; \
|
||||
if (ctxt->name##Nr < 0) return(0); \
|
||||
if (ctxt->name##Nr > 0) \
|
||||
|
Reference in New Issue
Block a user