[PATCH v5] windowscodecs: Fix data corruption for Adobe CMYK JPEGs

Vincent Povirk vincent at codeweavers.com
Fri Feb 16 10:57:30 CST 2018


+            DWORD *pDwordData = (DWORD*) (This->image_data + stride *
first_scanline);
+            DWORD *pDwordDataEnd = pDwordData + stride * max_rows;

I think you should use This->cinfo.output_scanline to determine the
end pointer, since libjpeg can give us less data than we request.

Sorry for the delay, I have been dealing with some health problems lately.



More information about the wine-devel mailing list