mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
avoid a regexp crash, should fix #523738 Daniel
* xmlregexp.c: avoid a regexp crash, should fix #523738 Daniel svn path=/trunk/; revision=3744
This commit is contained in:
@ -3162,7 +3162,8 @@ xmlFARegExec(xmlRegexpPtr comp, const xmlChar *content) {
|
||||
exec->counts = NULL;
|
||||
while ((exec->status == 0) &&
|
||||
((exec->inputString[exec->index] != 0) ||
|
||||
(exec->state->type != XML_REGEXP_FINAL_STATE))) {
|
||||
((exec->state != NULL) &&
|
||||
(exec->state->type != XML_REGEXP_FINAL_STATE)))) {
|
||||
xmlRegTransPtr trans;
|
||||
xmlRegAtomPtr atom;
|
||||
|
||||
|
Reference in New Issue
Block a user