pngtoimage(): fix wrong computation of x1,y1 if -d option is used, that would result...
authorEven Rouault <even.rouault@spatialys.com>
Mon, 30 Nov 2020 21:31:51 +0000 (22:31 +0100)
committerEven Rouault <even.rouault@spatialys.com>
Mon, 30 Nov 2020 21:31:51 +0000 (22:31 +0100)
commitb2072402b7e14d22bba6fb8cde2a1e9996e9a919
treea26ca8c83df6b606622c13ef9640a17761f99e30
parenta2b2980a4bcb4d3903375de31495f99dde0e98a8
pngtoimage(): fix wrong computation of x1,y1 if -d option is used, that would result in a heap buffer overflow (fixes #1284)
src/bin/jp2/convertpng.c