summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-11-07 01:35:43 +0100
committermayeut <mayeut@users.noreply.github.com>2015-11-07 01:35:43 +0100
commitfb4be3894e5c7c3a9820509ff2f4626ba19043fc (patch)
treeb0eff23edf7fd3f47f6d531e7c0f0ae629ce4b8f /tests
parentc37d69b25e2bdd40851b898532b2232cb2b04760 (diff)
Fix undefined size jp2 box handling
Update #653
Diffstat (limited to 'tests')
-rw-r--r--tests/nonregression/md5refs.txt1
-rw-r--r--tests/nonregression/test_suite.ctest.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/nonregression/md5refs.txt b/tests/nonregression/md5refs.txt
index 82f4cba3..499441c0 100644
--- a/tests/nonregression/md5refs.txt
+++ b/tests/nonregression/md5refs.txt
@@ -269,3 +269,4 @@ e163102afcc857cf001337178241f518 issue559-eci-090-CIELab.jp2_2.pgx
b004b2e08b0dfb217c131b353cf157eb issue559-eci-091-CIELab.jp2_0.pgx
2400da6b8ed6b1747b9913af544580f9 issue559-eci-091-CIELab.jp2_1.pgx
cf73dda887967928dbcf5cc87ab204cc issue559-eci-091-CIELab.jp2_2.pgx
+3bf91c974abc17e520c6a5efa883a58a issue653-zero-unknownbox.jp2.png
diff --git a/tests/nonregression/test_suite.ctest.in b/tests/nonregression/test_suite.ctest.in
index 25201c8f..c316a5ea 100644
--- a/tests/nonregression/test_suite.ctest.in
+++ b/tests/nonregression/test_suite.ctest.in
@@ -505,3 +505,6 @@ opj_decompress -i @INPUT_NR_PATH@/issue236-ESYCC-CDEF.jp2 -o @TEMP_PATH@/issue23
# issue 326 + PR 559: CIELab colorspace
opj_decompress -i @INPUT_NR_PATH@/issue559-eci-090-CIELab.jp2 -o @TEMP_PATH@/issue559-eci-090-CIELab.jp2.pgx
opj_decompress -i @INPUT_NR_PATH@/issue559-eci-091-CIELab.jp2 -o @TEMP_PATH@/issue559-eci-091-CIELab.jp2.pgx
+
+# issue 653 Last box of undefined size byg
+opj_decompress -i @INPUT_NR_PATH@/issue653-zero-unknownbox.jp2 -o @TEMP_PATH@/issue653-zero-unknownbox.jp2.png -p 8S