my_skip_input_data_fn tries to skip 0x8000 bytes which is bigger than the file size thus leading to infinite loop trying to reread from the buffer
I believe if reading failed there isn't too much that can be done to save the situation
this is my suggested edit
The text was updated successfully, but these errors were encountered:
oddcoder
changed the title
logical bug in src/imagew-jpeg.c: my_skip_input_data_fn that leads to infinite loop
infinite loop in src/imagew-jpeg.c: my_skip_input_data_fn
May 13, 2017
This fixes a bug that could cause an infinite loop.
It also corrects some error messages from "improper call to jpeg library"
to e.g. "unexpected end of file".
Fixes issue #26
Done via fuzzed JPEG on master

my_skip_input_data_fntries to skip 0x8000 bytes which is bigger than the file size thus leading to infinite loop trying to reread from the bufferI believe if reading failed there isn't too much that can be done to save the situation
this is my suggested edit
The text was updated successfully, but these errors were encountered: