Fixed inconsistency in use of "row_bytes" in pngrutil.c

The memset() should use "row_bytes" instead of "png_ptr->rowbytes".
This bug was introduced in libpng-1.2.36.
This commit is contained in:
Glenn Randers-Pehrson
2009-05-12 05:49:10 -05:00
parent 031a8648cb
commit 549a5101e7
3 changed files with 11 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.2.37beta01 - May 7, 2009
Libpng 1.2.37beta01 - May 12, 2009
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -43,8 +43,10 @@ Other information:
Changes since the last public release (1.2.36):
version 1.2.37beta01 [May 7, 2009]
version 1.2.37beta01 [May 12, 2009]
Fixed inconsistency in pngrutil.c, introduced in libpng-1.2.36. The
memset() was using "png_ptr->rowbytes" instead of "row_bytes", which
the corresponding png_malloc() uses (Joe Drew).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net