commit | cfc19ff1b6067b83baef5cfb0493b9bd86d3ec15 | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Sun Jul 03 12:48:11 2016 -0700 |
committer | John Bowler <jbowler@acm.org> | Sun Jul 03 13:49:36 2016 -0700 |
tree | 52084b8b1d101c69e667ba934701ad3f69fab16c | |
parent | 80495124b29d8abf0ec40ae625f5bcb5ef623f42 [diff] |
pngcp bug fixes The fixed size buffer for the file name being processed could have a byte written beyond the end; a bug where the test was updated without changing the size of the buffer. This commit reduces the buffer to the system maximum. png_getrowbytes could, in theory, return 0; probably only if there is a bug in libpng but the code now checks. Signed-off-by: John Bowler <jbowler@acm.org>