diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2018-06-20 16:26:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-20 16:26:24 +0200 |
| commit | d2205ba2ee78faeea659263383446c4472b1f9df (patch) | |
| tree | f08d189180dfc64787c84dc837bfe41e253c328f /tests | |
| parent | fd205f457b157e925e2a6eb03aba397b45b0ed4e (diff) | |
| parent | 4170681661126bc9c1348a0183633dc2f4fc8b05 (diff) | |
Merge pull request #1121 from rouault/fix_tnsot_zero
Fix regression in reading files with TNsot == 0 (refs #1120)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/nonregression/md5refs.txt | 3 | ||||
| -rw-r--r-- | tests/nonregression/test_suite.ctest.in | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/nonregression/md5refs.txt b/tests/nonregression/md5refs.txt index 903566d6..a33e82a1 100644 --- a/tests/nonregression/md5refs.txt +++ b/tests/nonregression/md5refs.txt @@ -316,4 +316,5 @@ ac8f6ab3acc9c692ed7c41bd62a0e1e8 file1.jp2-c0-r1.tif fbfcf662b6f7549574b2885490fbcf12 file1.jp2-c0-d10_20_30_40.tif fa7382fd8b2e788b28b807e200dd95b9 file1.jp2-c0-t0.tif ac8f6ab3acc9c692ed7c41bd62a0e1e8 file1.jp2-c0-t0-r1.tif -f31bcb01c771f829054cdb013575e86a issue1043.png
\ No newline at end of file +f31bcb01c771f829054cdb013575e86a issue1043.png +62bc654c830efddf1b23d6e208447dab tnsot_zero.png diff --git a/tests/nonregression/test_suite.ctest.in b/tests/nonregression/test_suite.ctest.in index 9fe4bc0b..4048a410 100644 --- a/tests/nonregression/test_suite.ctest.in +++ b/tests/nonregression/test_suite.ctest.in @@ -625,3 +625,8 @@ opj_decompress -i @INPUT_CONF_PATH@/file1.jp2 -o @TEMP_PATH@/file1.jp2-c0-t0-r1. !opj_decompress -i @INPUT_CONF_PATH@/file1.jp2 -o @TEMP_PATH@/file1.jp2-c10.tif -c 10 opj_decompress -i @INPUT_NR_PATH@/db11217111510058.jp2 -o @TEMP_PATH@/issue1043.png + +opj_decompress -i @INPUT_NR_PATH@/tnsot_zero.jp2 -o @TEMP_PATH@/tnsot_zero.png + +# try to decompress file with repeated PPT marker +!opj_decompress -i @INPUT_NR_PATH@/oss-fuzz2785.jp2 -o @TEMP_PATH@/oss-fuzz2785.png |
