mirror of https://github.com/svaarala/duktape.git
Browse Source
duk_hbufobj validity assertions require that if the buf pointer is NULL, the buffer length and offset are zero. This is violated by the shared slice code because it sets ->length before allocating a buffer, and since an allocation may trigger side effects, the assert may trigger in mark-and-sweep. I don't think this causes issues besides an assert failure.pull/1506/head
Sami Vaarala
8 years ago
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue