llvm-mos / llvm-mos-sdk

SDK for developing with the llvm-mos compiler
https://www.llvm-mos.org
Other
279 stars 55 forks source link

Fix use after free in `_stdio_closeall` #364

Closed pfusik closed 2 months ago

pfusik commented 3 months ago

While this was probably harmless because we are single-threaded, the allocator could generally store its internal structure in the freed block.