Modify ↓
Ticket #35 (closed defect: worksforme)
test program crashes on test file with multiple documents
| Reported by: | roel _ dot _ vanhout _ at _ gmail _ dot _ com | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | libyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by xi) (diff)
The run-parser.c test file crashes on the following test document: ============START================
--- - Harry Potter and the Prisoner of Azkaban - Harry Potter and the Goblet of Fire - Harry Potter and the Order of the Phoenix --- - Memoirs Found in a Bathtub - Snow Crash - Ghost World
=============END=================
Crash in is api.c, line 604 of the release tarball:
case YAML_SCALAR_TOKEN:
==> yaml_free(token->data.scalar.value);
break;
When I comment out the second document of the test file (from the second '---' on down), it runs fine.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
