RandyGaul / cute_headers

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
4.24k stars 264 forks source link

cute_png: check for image size int overflow on load #336

Closed dbohdan closed 1 year ago

dbohdan commented 1 year ago

Integer overflow appears to be the cause of #335. This patch fixes the test case and https://github.com/dbohdan/hicolor/issues/2.