Actually add the patch to fix the crash.
This commit is contained in:
parent
a9b6ed5f72
commit
60e4a7332e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121273
1 changed files with 11 additions and 0 deletions
11
textproc/libxml2/files/patch-error.c
Normal file
11
textproc/libxml2/files/patch-error.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- error.c.orig Tue Nov 9 21:08:54 2004
|
||||
+++ error.c Tue Nov 9 21:09:05 2004
|
||||
@@ -453,7 +453,7 @@
|
||||
return;
|
||||
if ((domain == XML_FROM_PARSER) || (domain == XML_FROM_HTML) ||
|
||||
(domain == XML_FROM_DTD) || (domain == XML_FROM_NAMESPACE) ||
|
||||
- (domain == XML_FROM_IO) || (domain == XML_FROM_VALID)) {
|
||||
+ (domain == XML_FROM_IO)) {
|
||||
ctxt = (xmlParserCtxtPtr) ctx;
|
||||
if ((schannel == NULL) && (ctxt != NULL) && (ctxt->sax != NULL) &&
|
||||
(ctxt->sax->initialized == XML_SAX2_MAGIC))
|
Loading…
Reference in a new issue