JS: h$withCStringOnHeap helper doesn't compute string size correctly
h$withCStringOnHeap
helper uses h$strlen
but doesn't add +1
for the NULL terminal byte.
Test and patch incoming.
h$withCStringOnHeap
helper uses h$strlen
but doesn't add +1
for the NULL terminal byte.
Test and patch incoming.