richgel999 / jpeg-compressor

C++ JPEG compression/fuzzed low-RAM JPEG decompression codec with Public Domain or Apache 2.0 license
216 stars 56 forks source link

Making Sure half_image_[x | y]_size is not negative. #16

Open Bhu1-V opened 3 years ago

Bhu1-V commented 3 years ago

without this check when an 1 x 1 or 1 x X or X x 1 Pixel Image using sub-sampling. the half_image_size would be -1 which would result in a crash on future steps. Fixed : https://github.com/godotengine/godot/issues/42363 Caused by this Bug.

tomal008 commented 1 year ago