[xml] Catching seg.fault

I'll take a better look at my code, and check out the error handling :)

On Apr 4, 2005 8:38 PM, Rich Salz <rsalz datapower com> wrote:
is there a way I can install a signal handler for catching the
seg.fault that happens when I try to parse an non valid xml document from
 > xmlParseMemory() ?

libxml doesn't use signals to communicate; if you get a signal,
especially SIGSEGV, it indicates a bug.  most likely in your code.

Rich Salz, Chief Security Architect
DataPower Technology                           http://www.datapower.com
XS40 XML Security Gateway   http://www.datapower.com/products/xs40.html

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