xml:parse endless loop
Bug #1099535 reported by
Nicolae Brinza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Nicolae Brinza |
Bug Description
On certain input, xml:parse function enters an endless loop.
The report:
One works (good.xml); the other does not (bad.xml). I try to run the xquery against the bad.xml:
zorba -i -r -f -q test.xqy --omit-
Zorba hangs and starts using 100% of the CPU.
"runs.xml" executes as expected whereas "bad.xml" (same data, different order) does not.
--
Related branches
lp:~nbrinza/zorba/parse-fragment
- Chris Hillery: Approve
- Nicolae Brinza: Approve
-
Diff: 459 lines (+362/-6)6 files modifiedChangeLog (+8/-0)
src/store/naive/loader.h (+2/-1)
src/store/naive/loader_dtd.cpp (+22/-5)
test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-fragment-skip-root-57.xml.res (+159/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/bad.xml (+158/-0)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-57.xq (+13/-0)
Changed in zorba: | |
importance: | Undecided → High |
milestone: | none → 2.9 |
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.