Tests: Use more representative test cases for ILBM regression tests

Previously, the regression tests for OSS-Fuzz issues 62033 and 63296
used test case files directly from OSS-Fuzz. These files are invalid
in multiple ways because they have been generated by a fuzzer. This
commit replaces these files with ones that only expose the issue being
tested.
This commit is contained in:
Tim Ledbetter 2023-10-30 15:23:40 +00:00 committed by Andreas Kling
parent 21f2f09df4
commit 39f7f1e84c
5 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ TEST_CASE(test_ilbm_uncompressed)
TEST_CASE(test_ilbm_malformed_header) TEST_CASE(test_ilbm_malformed_header)
{ {
Array test_inputs = { Array test_inputs = {
TEST_INPUT("ilbm/oss-fuzz-testcase-62033.iff"sv), TEST_INPUT("ilbm/truncated-bmhd-chunk.iff"sv)
}; };
for (auto test_input : test_inputs) { for (auto test_input : test_inputs) {
@ -154,7 +154,7 @@ TEST_CASE(test_ilbm_malformed_header)
TEST_CASE(test_ilbm_malformed_frame) TEST_CASE(test_ilbm_malformed_frame)
{ {
Array test_inputs = { Array test_inputs = {
TEST_INPUT("ilbm/oss-fuzz-testcase-63296.iff"sv) TEST_INPUT("ilbm/missing-body-chunk.iff"sv)
}; };
for (auto test_input : test_inputs) { for (auto test_input : test_inputs) {

Binary file not shown.

Binary file not shown.