Prevent integer overflows when calculating the memory necessary for loading an image.
This can happen particularly for images requiring chunks of >4GB and when using a 32 bit variable to store width and height. Worst case, a smaller chunk of memory was allocated, resulting in a crash. BUG: 307602 FIXED-IN: 3.0.0
parent
6cf80663
Please register or sign in to comment