ALT Linux Bugzilla
– Attachment 4728 Details for
Bug 24379
xmlSetStructuredErrorFunc() breaks SAX2 error handler
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
a patch by Sergei Epiphanov
libxml.diff (text/plain), 803 bytes, created by
Michael Shigorin
on 2010-12-30 18:40:29 MSK
(
hide
)
Description:
a patch by Sergei Epiphanov
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2010-12-30 18:40:29 MSK
Size:
803 bytes
patch
obsolete
>diff -Naur libxml2-v2.7.8-7-gfec31bc.orig/error.c libxml2-v2.7.8-7-gfec31bc/error.c >--- libxml2-v2.7.8-7-gfec31bc.orig/error.c 2010-11-18 13:07:24.000000000 +0300 >+++ libxml2-v2.7.8-7-gfec31bc/error.c 2010-12-30 18:32:59.416003537 +0300 >@@ -461,6 +461,9 @@ > if ((schannel == NULL) && (ctxt != NULL) && (ctxt->sax != NULL) && > (ctxt->sax->initialized == XML_SAX2_MAGIC)) > schannel = ctxt->sax->serror; >+ >+ if(data == NULL) >+ data = ctxt->userData; > } > /* > * Check if structured error handler set >@@ -480,6 +483,9 @@ > if ((schannel == NULL) && (ctxt != NULL) && (ctxt->sax != NULL) && > (ctxt->sax->initialized == XML_SAX2_MAGIC)) > schannel = ctxt->sax->serror; >+ >+ if(data == NULL) >+ data = ctxt->userData; > } > if (code == XML_ERR_OK) > return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24379
:
4726
|
4728
|
4731
|
4732
|
4733
|
4742