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

Calls to fwrite, fread, and fprintf end in segfaults #444

Closed chung-leong closed 2 weeks ago

chung-leong commented 2 weeks ago

It's due to handling of call to fclose(). The code must be processing the FILE pointer after it's been freed.