Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert failure #84

Closed
ChijinZ opened this issue Jun 22, 2018 · 1 comment
Closed

Assert failure #84

ChijinZ opened this issue Jun 22, 2018 · 1 comment

Comments

@ChijinZ
Copy link

ChijinZ commented Jun 22, 2018

When testcase (see: https://github.com/ChijinZ/security_advisories/blob/master/tinyexr_16aba30/assert_failure) is input into test_tinyexr (command: ./test_tinyexr testcase), a assert-failure problem is triggered in tinyexr.h:9589.

test_tinyexr: tinyexr.h:9589: bool tinyexr::DecodePixelData(unsigned char**, const int*, const unsigned char*, size_t, int, int, int, int, int, int, int, int, size_t, size_t, const EXRAttribute*, size_t, const EXRChannelInfo*, const std::vector<long unsigned int>&): Assertion `ret' failed.
Aborted
@syoyo
Copy link
Owner

syoyo commented Jun 23, 2018

You can return false and do some error handling if you want to avoid assert failure. PR is appreciated.

@syoyo syoyo closed this as completed Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants