summaryrefslogtreecommitdiff
path: root/tests/nonregression
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2014-11-20 23:47:09 +0000
committerMatthieu Darbois <mayeut@users.noreply.github.com>2014-11-20 23:47:09 +0000
commit8397eac3823b92e4cf6d6ba14570ca50a0cf5b3a (patch)
tree7997458d523fab563e242bd12c1c0d4172e35659 /tests/nonregression
parenta2c2d86d3d6d9aed3f6745087940b54e27b0c911 (diff)
[trunk] added check for pclr box validity (fixes issue 429)
Diffstat (limited to 'tests/nonregression')
-rw-r--r--tests/nonregression/CMakeLists.txt1
-rw-r--r--tests/nonregression/test_suite.ctest.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/nonregression/CMakeLists.txt b/tests/nonregression/CMakeLists.txt
index 9ac6a181..242e52fe 100644
--- a/tests/nonregression/CMakeLists.txt
+++ b/tests/nonregression/CMakeLists.txt
@@ -42,6 +42,7 @@ set(BLACKLIST_JPEG2000_TMP
edf_c2_101463.jp2
edf_c2_1674177.jp2
edf_c2_1673169.jp2
+ issue429.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 c580cf95..f85326bb 100644
--- a/tests/nonregression/test_suite.ctest.in
+++ b/tests/nonregression/test_suite.ctest.in
@@ -223,6 +223,8 @@ opj_decompress -i @INPUT_NR_PATH@/issue414.jp2 -o @TEMP_PATH@/issue414.jp2.pgx
opj_decompress -i @INPUT_NR_PATH@/issue411-ycc444.jp2 -o @TEMP_PATH@/issue411-ycc444.jp2.pgx
opj_decompress -i @INPUT_NR_PATH@/issue411-ycc422.jp2 -o @TEMP_PATH@/issue411-ycc422.jp2.pgx
opj_decompress -i @INPUT_NR_PATH@/issue411-ycc420.jp2 -o @TEMP_PATH@/issue411-ycc420.jp2.pgx
+# issue 429 (from pdfium fuzz engine) 0 entries in PCLR box.
+!opj_decompress -i @INPUT_NR_PATH@/issue429.jp2 -o @TEMP_PATH@/issue429.jp2.pgx
# decode with specific area
# prec=12; nb_c=1