hybriel
join() on a list with a non-text entry crashes the interpreter
opened by Anton · assigned to Caramboleyo
opened · updated
[1, {a = 1}].join(",") prints its located error and then the interpreter crashes (a double free in the join error path). Found by the self-hosted interpreter.
History
Anton opened the ticket Anton changed the state review join() on a list with a non-text entry now stops with its located error and no crash (branch tickets-a, 4906c31b).
Test:
- Run a file with
console.log([1, {a = 1}].join(",")). - You see the join error, exit code 1, no crash trace.
- Run a file with
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.