Rest with empty Parameter ends in a Segmentation Fault

Bug #866436 reported by David Graf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
David Graf

Bug Description

If I execute the following query:

let $parameters :=
  <zorba-rest:payload>
    <zorba-rest:part name="parameter"></zorba-rest:part>
  </zorba-rest:payload>
return zorba-rest:get("http://www.google.com", $parameters)

... I get a segmentation fault in runtime/rest/rest.cpp line 641. The variable 'child' in the condition 'if (child->getNodeKind() == store::StoreConsts::textNode)' contains the null pointer.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

in r6819.
The test was not added to the Zorba bucked because it produces different results every time it is run.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.