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

Anton Romanov theli.ua at gmail.com
Fri Feb 16 11:28:18 CST 2018


On Fri, Feb 16, 2018 at 8:57 AM, Vincent Povirk <vincent at codeweavers.com> wrote:
> +            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.
Sure, makes sense.

> Sorry for the delay, I have been dealing with some health problems lately.
Np, get well.



More information about the wine-devel mailing list