• J
    pngcp bug fixes · cfc19ff1
    John Bowler 提交于
    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: NJohn Bowler <jbowler@acm.org>
    cfc19ff1
pngcp.c 71.8 KB