NULL pointer derefernce in `stb_image`
Moderate severity
GitHub Reviewed
Published
Mar 20, 2023
to the GitHub Advisory Database
•
Updated Jul 19, 2023
Description
Published to the GitHub Advisory Database
Mar 20, 2023
Reviewed
Mar 20, 2023
Last updated
Jul 19, 2023
A bug in error handling in the
stb_image
C library could cause a NULL pointer dereference when attempting to load an invalid or unsupported image file. This is fixed in version 0.2.5 and later of thestb_image
Rust crate, by patching the C code to correctly handle NULL pointers.References