diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/exif/tests/duplicate_copyright_tag_leak.phpt | 6 | ||||
-rw-r--r-- | ext/exif/tests/tag_with_illegal_zero_components.phpt | 6 | ||||
-rw-r--r-- | ext/exif/tests/temporary_buffer_leak.phpt | 6 | ||||
-rw-r--r-- | ext/exif/tests/zero_length_makernote_leak.phpt | 6 |
4 files changed, 24 insertions, 0 deletions
diff --git a/ext/exif/tests/duplicate_copyright_tag_leak.phpt b/ext/exif/tests/duplicate_copyright_tag_leak.phpt index c5d5019794..3a4eccf142 100644 --- a/ext/exif/tests/duplicate_copyright_tag_leak.phpt +++ b/ext/exif/tests/duplicate_copyright_tag_leak.phpt @@ -1,5 +1,11 @@ --TEST-- OSS-Fuzz #17474: Memory leak on duplicate Copyright tags +--SKIPIF-- +<?php +if (!extension_loaded('exif')) { + die('skip exif extension not available'); +} +?> --FILE-- <?php diff --git a/ext/exif/tests/tag_with_illegal_zero_components.phpt b/ext/exif/tests/tag_with_illegal_zero_components.phpt index 26422db7ca..f3e434ed10 100644 --- a/ext/exif/tests/tag_with_illegal_zero_components.phpt +++ b/ext/exif/tests/tag_with_illegal_zero_components.phpt @@ -1,5 +1,11 @@ --TEST-- OSS-Fuzz #17163: Out-of-bounds read due to tag with zero components +--SKIPIF-- +<?php +if (!extension_loaded('exif')) { + die('skip exif extension not available'); +} +?> --FILE-- <?php diff --git a/ext/exif/tests/temporary_buffer_leak.phpt b/ext/exif/tests/temporary_buffer_leak.phpt index cf136dd648..fe7fe1d8a7 100644 --- a/ext/exif/tests/temporary_buffer_leak.phpt +++ b/ext/exif/tests/temporary_buffer_leak.phpt @@ -1,5 +1,11 @@ --TEST-- OSS-Fuzz: Temporary buffer leak in tag reading +--SKIPIF-- +<?php +if (!extension_loaded('exif')) { + die('skip exif extension not available'); +} +?> --FILE-- <?php diff --git a/ext/exif/tests/zero_length_makernote_leak.phpt b/ext/exif/tests/zero_length_makernote_leak.phpt index 37d0e0c573..246e267ddc 100644 --- a/ext/exif/tests/zero_length_makernote_leak.phpt +++ b/ext/exif/tests/zero_length_makernote_leak.phpt @@ -1,5 +1,11 @@ --TEST-- OSS-Fuzz: Memory leak for zero-length MAKERNOTE +--SKIPIF-- +<?php +if (!extension_loaded('exif')) { + die('skip exif extension not available'); +} +?> --FILE-- <?php |