ticketsLog in with ident

hybriel #79

join() on a list with a non-text entry crashes the interpreter

review

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

  1. Anton opened the ticket
  2. 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:

    1. Run a file with console.log([1, {a = 1}].join(",")).
    2. You see the join error, exit code 1, no crash trace.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.