String literals with '\0' crash Mars
Bug #534159 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mars |
Fix Released
|
High
|
Matt Giuca |
Bug Description
Expected:
?> "a\0b"
[97, 0, 98]
Actual:
?> "a\0b"
Uncaught Mercury exception:
univ_cons(
This is due to a call to string.
Related branches
Changed in mars: | |
importance: | Medium → High |
Changed in mars: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in trunk r983.