Files
scummvm/graphics
antoniou79 7d6a8fe7bb GRAPHICS: Fix segmentation fault for thumbnail from incomplete fill
Common::fill fills up to but not including the address of the last item

Previously the last item of array v was not filled with 0, so if the rest of the code in the scaleLine() method did not update it, it would have a random init value which could cause segmentation fault when using the scale() method.
2022-06-12 15:09:49 +02:00
..