stb
stb copied to clipboard
Fix `0` byte write heap buffer overflow in `start_decoder`
Fixes #1552
This proposed fix is obvious - an early exit solution. Looks good.
I'd prefer a check that sanity checks the 'len' field and bails if it's bad.