#2 ✓resolved
Alfons Hoogervorst

abortParsing may crash program

Reported by Alfons Hoogervorst | May 16th, 2009 @ 03:04 AM

When abortParsing is called, _pushXMLData may still try to push data to an already deallocated lib xml parser object, resulting in a crash.
I solved it by just putting a check

// don't push data when delegate aborted...
if (_internal->delegateAborted == YES)

at the beginning of the function, but the check should probably put somewhere around xmlParseChunk().

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A random dump of code I've written and found useful.

Source code can be found here:

People watching this ticket