mirror of
https://github.com/php/php-src.git
synced 2025-01-19 10:13:38 +08:00
fixes bug #73135
This commit is contained in:
parent
d2b03119e2
commit
319822b050
@ -593,13 +593,13 @@ has been defined and none can be detected */
|
||||
}
|
||||
#endif
|
||||
|
||||
if (parser->parser->lastError.level >= XML_ERR_WARNING) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
error = xmlParseChunk(parser->parser, (char *) data, data_len, is_final);
|
||||
if (!error) {
|
||||
return 1;
|
||||
} else if (parser->parser->lastError.level > XML_ERR_WARNING ){
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user