Skip to content

Fix for http://github.com/xml4r/libxml-ruby/issues#issue/1#11

Merged
1 commit merged intoxml4r:masterfrom
raorn:master
Nov 11, 2010
Merged

Fix for http://github.com/xml4r/libxml-ruby/issues#issue/1#11
1 commit merged intoxml4r:masterfrom
raorn:master

Conversation

@raorn
Copy link
Contributor

@raorn raorn commented Oct 17, 2010

No description provided.

Sometimes ctxt->sax pointer may not be zeroed in rxml_sax_parser_parse(),
for example when exception is raised in one of callbacks.

Allocate memory, copy rxml_sax_handler structure into this memory and
let xmlFreeParserCtxt() clean this up.

Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
@raorn
Copy link
Contributor Author

raorn commented Oct 21, 2010

ping

@trans
Copy link
Contributor

trans commented Nov 7, 2010

Do you want commit rights?

@yeban
Copy link
Contributor

yeban commented Nov 11, 2010

I merged the changes.
@raorn it sill fails the test you mentioned earlier ?

@raorn
Copy link
Contributor Author

raorn commented Nov 11, 2010

Yes. LibXML needs to be fixed somehow.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants