[libpng16] Don't recognize known sRGB profiles as sRGB if they have been hacked.

This commit is contained in:
Glenn Randers-Pehrson
2014-02-22 22:22:15 -06:00
parent eb657ae68f
commit e3ae583514
3 changed files with 12 additions and 11 deletions

View File

@@ -79,6 +79,7 @@ Version 1.6.10beta02 [February 23, 2014]
Added png_ptr->process_mode = PNG_READ_IDAT_MODE in png_push_read_chunk
after recognizing the IDAT chunk, which avoids an infinite loop while
reading a datastream whose first IDAT chunk is of zero-length.
Don't recognize known sRGB profiles as sRGB if they have been hacked.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit