Re: [xml] Crash when parsing bad HTML

On 23 Aug 04:04, Daniel Veillard wrote:
}  Also note that the document you gave have no entities, the stack trace you
}gave cannot correspond to what actually happen, htmlParseElement() never
}call htmlParseEntityRef() directly, and htmlParseEntityRef() does not
}call xmlSAX2ProcessingInstruction(), in a nutshell the stack trace
}information is completely unusable !

Compiling with optimisation will do that as the compiler inlines small
functions, thus eliminating them from the stack trace.


Callum Gibson @ home

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]