diff options
Diffstat (limited to 'xmlregexp.c')
-rw-r--r-- | xmlregexp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlregexp.c b/xmlregexp.c index 3fb7e0cf..a572cf8c 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -1871,6 +1871,8 @@ xmlFAFinishReduceEpsilonTransitions(xmlRegParserCtxtPtr ctxt, int tonr) { xmlRegStatePtr to; to = ctxt->states[tonr]; + if (to == NULL) + return; if ((to->mark == XML_REGEXP_MARK_START) || (to->mark == XML_REGEXP_MARK_NORMAL)) return; |