ʟᴜɴᴇx

Results issues of ʟᴜɴᴇx

In stbi__convert_format16, stbi__convert_16_to_8, and stbi__convert_8_to_16, the size calculation `w * h * channels * 2` can overflow a signed 32-bit int, leading to a buffer overflow. This fix adds a...

recursive `stbi__out_gif_code()` can overflow the stack on deeply chained LZW codes (up to 4096). This happens easily on platforms with small stacks like WebAssembly. **Fix:** replaced the recursive traversal with...