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
segmentation fault in LibRaw::parse_tiff_ifd #335
Comments
|
This is compiler error, code is correct: https://github.com/LibRaw/LibRaw/blob/master/src/metadata/tiff.cpp#L617 (xtrans is [6][6] array and c varies from 0 to 35) |
|
Thank you, could you consider this problem:
#334 (I closed it by accident)?
LibRaw LLC <notifications@github.com> 于2020年8月20日周四 下午8:33写道:
… This is compiler error, code is correct:
https://github.com/LibRaw/LibRaw/blob/master/src/metadata/tiff.cpp#L617
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#335 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKPRWZP2S5BXCJF42QUYIV3SBUJ3JANCNFSM4QF7RDHA>
.
|
|
Although (accidentally) closed, it is fixed by this patch: 78d323e |
This is a libraw error. In C this is undefined behaviour, and the compiler is allowed to do anything for undefined behaviour in code. Annex J.2 of the C99 standard gives the following example for this undefined behaviour: |
|
This is not C code, but C++ code, C99-reference is not relevant here. |
Reproduce steps:
./test pocStack trace:
Poc:
poc.tar.gz
The text was updated successfully, but these errors were encountered: