[PATCH 2/4] windowscodecs: Fix buffer overflow when generating a palette.

Akihiro Sagawa sagawa.aki at gmail.com
Sun Nov 4 08:17:42 CST 2018


This typically happens when loading 16-bpp color-keyed grayscale PNG
image via GDIPlus.

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/windowscodecs/pngformat.c       |  2 +-
 dlls/windowscodecs/tests/pngformat.c | 68 ++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-windowscodecs-Fix-buffer-overflow-when-generating-a-.patch
Type: text/x-patch
Size: 4514 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20181104/90cf6080/attachment.bin>


More information about the wine-devel mailing list