commit | 866fdf6f8f52e58f7e5325f1c724bb72f41eae40 | [log] [tgz] |
---|---|---|
author | Adam Richter <adamrichter4@gmail.com> | Sun Aug 30 14:06:01 2020 -0700 |
committer | Cosmin Truta <ctruta@gmail.com> | Fri Jan 19 17:45:27 2024 +0200 |
tree | 46ecbe4ab291edfb2694225b411fbf285fb5eeef | |
parent | 6f8257e437fad3ba403cab924bd143ca82d1d9f8 [diff] |
Fix an off-by-one error in `png_do_check_palette_indexes` The last byte of each row was ignored in a function that was executed under the build flags `PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED` and `PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED`. This is a revert of a change previously applied in libpng-1.6.33beta01. See SourceForge bug #269 at https://sourceforge.net/p/libpng/bugs/269/ Reviewed-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>