mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Fix stack smaller in write png_copy_row
This also resulted in PNG data with random row bytes. Signed-off-by: John Bowler <jbowler@acm.org>
This commit is contained in:
@@ -3114,7 +3114,7 @@ copy_row(png_const_structrp png_ptr, png_bytep dp, png_const_bytep sp,
|
||||
# else
|
||||
PNG_PIXEL_DEPTH(*png_ptr),
|
||||
# endif
|
||||
clear/*clear partial byte at end of row*/);
|
||||
clear/*clear partial byte at end of row*/, 1/*sp -> dp[x]*/);
|
||||
}
|
||||
|
||||
#ifdef PNG_READ_INTERLACING_SUPPORTED
|
||||
|
||||
Reference in New Issue
Block a user