nothings / stb

stb single-file public domain libraries for C/C++
https://twitter.com/nothings
Other
25.99k stars 7.67k forks source link

Fix signed integer overflow #1500

Closed JarLob closed 1 month ago

JarLob commented 1 year ago

The cast to unsigned int was done after a possible signed integer overflow which is undefined behavior