mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Fixed an intermittent SEGV in pngstest.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
7b3eefbcfd
commit
4314d63792
@@ -2625,7 +2625,7 @@ component_loc(png_byte loc[4], png_uint_32 format)
|
||||
else
|
||||
{
|
||||
channels = 1;
|
||||
loc[0] = loc[1] = loc[2] = 0;
|
||||
loc[1] = loc[2] = loc[3] = 0;
|
||||
}
|
||||
|
||||
if (format & PNG_FORMAT_FLAG_ALPHA)
|
||||
|
||||
Reference in New Issue
Block a user