Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Stack buffer overflow in v043 #94
VS2013 and Xcode711/Asan detect a stack buffer overflow in a released v0.4.3 with a specific input data.
How to repro
Use the following PVRTC4 compressed sample image with a
Output with VS2013-update5, Windows7:
Output with Xcode711, Clang700.1.76, enabled ASan, iOS9.1:
In an existing quite a big iOS app the invocation of
added a commit
Dec 10, 2015
I believe to have fixed this issue within latest update of "dev" branch 695a6cb.
The issue was within
Since the issue is not specific to your sample, I'm surprised it has not show up earlier within Continuous Integration tests, as
If you witness some instability issues outside of
I was wrong. We call
Thanks for feedback @drach.
Which reminds me : the decompression context is quite large currently, and it's part of my todo list to tame it.
In the meantime, should you need to keep your stack at 128K per thread, I suggest creating a context per thread with