Commit 9887395b authored by William M. Brack's avatar William M. Brack
Browse files

fixed problem causing segfault on validation error condition (reported on

* xmlregexp.c: fixed problem causing segfault on validation error
  condition (reported on mailing list)
parent cf9eadf7
Fri Dec 26 14:03:41 HKT 2003 William Brack <wbrack@mmm.com.hk>
* xmlregexp.c: fixed problem causing segfault on validation error
condition (reported on mailing list)
Thu Dec 25 21:16:22 HKT 2003 William Brack <wbrack@mmm.com.hk>
 
* xmlschemas.c: fixed missing dictionaries for Memory and Doc
......
......@@ -2816,7 +2816,8 @@ xmlRegExecPushString(xmlRegExecCtxtPtr exec, const xmlChar *value,
}
}
if (ret == 1) {
if ((exec->callback != NULL) && (atom != NULL)) {
if ((exec->callback != NULL) && (atom != NULL) &&
(data != NULL)) {
exec->callback(exec->data, atom->valuep,
atom->data, data);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment