Skip to content

JS: fix h$withCStringOnHeap helper (#25288)

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/js-string-on-heap into master

strlen returns the length of the string without the \0 terminating byte, hence CString weren't properly allocated on the heap (ending \0 byte was missing).

Merge request reports