[libpng16] Added "tunknown" test and corrected a logic error in
png_handle_unknown() when SAVE support is absent. Moved the shell test scripts for contrib/libtests from the libpng top directory to contrib/libtests. png_handle_unknown() must always read or skip the chunk, if SAVE_UNKNOWN_CHUNKS is turned off *and* the application does not set a user callback an unknown chunk will not be read, leading to a read error, which was revealed by the "tunknown" test.
Showing
contrib/libtests/gentests.sh
100644 → 100755
文件模式从 100644 更改为 100755
contrib/libtests/test-unknown.sh
0 → 100755
想要评论请 注册 或 登录