1. Shlomi Fish
  2. perl-XML-LibXML

Source

perl-XML-LibXML / xpath.c

Diff from to

File xpath.c

 xmlXPathObjectPtr
 domXPathCompFindCtxt( xmlXPathContextPtr ctxt, xmlXPathCompExprPtr comp, int to_bool ) {
     xmlXPathObjectPtr res = NULL;
-    if ( comp != NULL && ctxt->node != NULL && comp != NULL ) {
+    if ( ctxt != NULL && ctxt->node != NULL && comp != NULL ) {
         xmlDocPtr tdoc = NULL;
         xmlNodePtr froot = ctxt->node;