[devel] Revised png_check_IHDR()

to add a test for user passing a 16-bit height varible to png_get_IHDR()
which causes an overflow into the high bytes of the width variable.
This commit is contained in:
Glenn Randers-Pehrson
2009-09-30 14:58:28 -05:00
parent 6076da8079
commit dd66f3ed20
4 changed files with 23 additions and 20 deletions

View File

@@ -568,6 +568,7 @@ version 1.4.0beta83 [September 25, 2009]
version 1.4.0beta84 [September 30, 2009]
Fixed some inconsistent indentation in pngconf.h
Revised png_check_IHDR() to add a test for width variable less than 32-bit.
version 1.4.0betaN [future]
Build shared libraries with -lz and sometimes -lm.