commit | 62c027d4dfe166a81280e50eb8a6e67db63da695 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Wed Sep 14 11:30:14 2022 +0300 |
committer | Cosmin Truta <ctruta@gmail.com> | Wed Sep 14 11:30:14 2022 +0300 |
tree | 0234e1638b92bb103c6020896f2e6ea4b5af7c99 | |
parent | e9e9801a84f5bb053903654634b068dbee72db88 [diff] |
Fix handling incorrect hIST chunks of uneven size The hIST chunks, used for storing image histograms, contain arrays of 16-bit unsigned integers, and the chunk size is expected to be an even number. Raise a png_chunk_benign_error() if a hIST chunk fails to meet this expectation. Reported-by: Eugene Kliuchnikov <eustas@google.com>