segfault when returning an input ItemSequence from an external function
Bug #907872 reported by
Matthias Brantner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Matthias Brantner |
Bug Description
Zorba segfaults when returning one of the input ItemSequences from an external function.
For example,
ItemSequence_t evaluate(const ExternalFunctio
{
return args[0];
}
Related branches
lp:~zorba-coders/zorba/bug907872
- Markos Zaharioudakis: Approve
- Matthias Brantner: Approve
-
Diff: 200 lines (+106/-3)6 files modifiedChangeLog (+2/-1)
src/runtime/core/fncall_iterator.cpp (+3/-1)
test/unit/CMakeLists.txt (+2/-0)
test/unit/ext_main3.xq (+21/-0)
test/unit/ext_mod2.xq (+19/-0)
test/unit/external_function.cpp (+59/-1)
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.