diff options
| author | Matthieu Darbois <mayeut@users.noreply.github.com> | 2014-12-18 22:19:52 +0000 |
|---|---|---|
| committer | Matthieu Darbois <mayeut@users.noreply.github.com> | 2014-12-18 22:19:52 +0000 |
| commit | c0cb119c0e6a18b6a9ac2ee4305acfb71b06a63c (patch) | |
| tree | 71ecd4a1ee10f034fef18ab093d4b810c8f47893 /tests | |
| parent | 9a21e1eef06672b8a546430e9cb578c56d7858cf (diff) | |
[trunk] Fixed a crash on 0xh or wx0 image size decoding
Update issue 427
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/nonregression/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | tests/nonregression/test_suite.ctest.in | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/nonregression/CMakeLists.txt b/tests/nonregression/CMakeLists.txt index 242e52fe..be349ec0 100644 --- a/tests/nonregression/CMakeLists.txt +++ b/tests/nonregression/CMakeLists.txt @@ -43,6 +43,7 @@ set(BLACKLIST_JPEG2000_TMP edf_c2_1674177.jp2 edf_c2_1673169.jp2 issue429.jp2 + issue427-null-image-size.jp2 ) # Define a list of file which should be gracefully rejected: diff --git a/tests/nonregression/test_suite.ctest.in b/tests/nonregression/test_suite.ctest.in index 4dcc0a67..ace54f94 100644 --- a/tests/nonregression/test_suite.ctest.in +++ b/tests/nonregression/test_suite.ctest.in @@ -229,6 +229,8 @@ opj_decompress -i @INPUT_NR_PATH@/issue411-ycc420.jp2 -o @TEMP_PATH@/issue411-yc !opj_decompress -i @INPUT_NR_PATH@/issue429.jp2 -o @TEMP_PATH@/issue429.jp2.pgx # issue 432 (from pdfium fuzz engine) Overflow in tcd tilec data size computation. !opj_decompress -i @INPUT_NR_PATH@/issue432.jp2 -o @TEMP_PATH@/issue432.jp2.pgx +# issue 427 image width is 0 +!opj_decompress -i @INPUT_NR_PATH@/issue427-null-image-size.jp2 -o @TEMP_PATH@/issue427-null-image-size.jp2.pgx # decode with specific area # prec=12; nb_c=1 |
