-
Notifications
You must be signed in to change notification settings - Fork 80
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
null pointer dereference in BitmapHook #72
Comments
Am 29.05.2022 um 06:00 schrieb sleicasper:
There is a null pointer dereference in BitmapHook in bitmaphook.cpp.
I cannot reproduce. Please ensure that you use the latest version from
git. That is, make a fresh clone, and recompile from it.
jpeg poc out.ppm
jpeg Copyright (C) 2012-2018 Thomas Richter, University of Stuttgart
and Accusoft
For license conditions, see README.license for details.
*** Warning -1038 in Tables::ParseTables, line 1386, file tables.cpp
*** Reason is: found invalid marker, probably a marker size is out of range
*** Warning -1038 in Tables::ParseTables, line 1386, file tables.cpp
*** Reason is: found invalid marker, probably a marker size is out of range
*** Warning -1038 in Frame::StartParseHiddenScan, line 869, file frame.cpp
*** Reason is: Start of Scan SOS marker missing
*** Warning -1038 in Frame::ParseTrailer, line 1084, file frame.cpp
*** Reason is: missing an EOI marker at the end of the stream
*** Warning -1038 in Image::ParseTrailer, line 1463, file image.cpp
*** Reason is: expecting an EOI marker at the end of the stream
0 bytes memory not yet released.
9177 bytes maximal required.
44 allocations performed.
Greetings,
Thomas
|
Hi, |
I can reproduce this issue on latest version from github using command
|./jpeg poc /dev/null|.
Actually, this is not related to the core library code, only to the demo
wrapper code due to the selection of the target "file name". The pgx
writer cannot handle this properly. It is fixed, though.
You should really not depend much on the code in "cmd" which is kept
simple on purpose.
|
Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a null pointer dereference in BitmapHook in bitmaphook.cpp.
stack trace
poc:
poc.zip
reproduce:
./jpeg ./poc /dev/null
The text was updated successfully, but these errors were encountered: