Re[2]: [xml] Segfaults on FreeBSD when using XPath....



-----BEGIN PGP SIGNED MESSAGE-----

Hello David,
Thursday, June 07, 2001, 9:21:48 PM, you wrote:


Running it in a debugger shows that path->nodesetval->nodeTab is
NULL.  

You should probably check all pointers for NULL before you attempt
to de- reference them.

1) It isn't my own code, I found it on the list and assumed it would
   work.
2) How should I find a NULL ptr when there is
   xmlXPathInit();
   without any params?

In my very case, I don't even get to the path line because it crashes
during the xmlXPathInit() call...



Best regards,
 Gabriel

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBOx/LAcZa2WpymlDxAQGbCAgA0MSOZxgmNcODkDAzqMsLtr8HOE2Q48Rg
gGmTzQzvY+lD/RXx5Ka/+Lr/6CUD0yv7bD9bfdFt6OHJBKKz+7ol59xcwXm9Ojq/
Qfq84NsCcn/kQgI6NzhMlvFOKN/W7irgSx5+VET1KnBR5/HF+OtKrahakfr5b8pv
UgGNJtCDRFwXAF7WnBkwr/llnXgtQqCRTzP+WS/VQYXDhssU2Fqi0M4gDIcYVoXR
iPZr12WZ698PF4/e0S1bAug+1t0FM+s6E0mOeYrfEoihPgayAxZcdXoeyrqBb0BF
eVW4bD4qgv5W1E3/kSawzEqfIhCAyMVNQHIjidb3o5+YmnTWbuxAHw==
=I6q5
-----END PGP SIGNATURE-----





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