tga->error is leaved uninitialized in TGAOpen and can cause crash in TGA_ERROR macro. See attached patch.
Hey, I forked this project on GitHub and fixed some bugs on the way. I believe I fixed this bug. The fork is at https://github.com/madebr/libtga.
Log in to post a comment.
Hey,
I forked this project on GitHub and fixed some bugs on the way.
I believe I fixed this bug.
The fork is at https://github.com/madebr/libtga.