in json_impl.cpp data from a zstring is read after destruction
Bug #1021025 reported by
Dennis Knochenwefel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Undecided
|
Dennis Knochenwefel |
Bug Description
a zstring in json_impl.cpp is destroyed before it's data is read. This causes an illegal_character exception to be thrown if e.g. the twitter api is consumed and parsed.
Also, the exception thrown contains non-utf-8 characters which causes problems in some execution environments.
Related branches
lp:~zorba-coders/zorba/bug-1021025
- Till Westmann: Approve
- Ghislain Fourny: Approve
-
Diff: 38 lines (+5/-2)1 file modifiedsrc/runtime/json/json_impl.cpp (+5/-2)
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.