chung-leong / zigar

Enable the use of Zig code in JavaScript project
https://chung-leong.github.io/zigar/
MIT License
182 stars 3 forks source link

Calling variadic function leads to segfault #441

Closed chung-leong closed 1 month ago

chung-leong commented 1 month ago

Only affect strings, so this is probably an issue with pointer handling.

chung-leong commented 1 month ago

Likely due to missing sentinel byte.

chung-leong commented 1 month ago

Ah, pointers aren't getting visited, that's the problem.