com php-src: Add missing SKIPIFs in exif tests: ext/exif/tests/ duplicate_copyright_tag_leak.phpt ext/exif/tests/tag
_with_illegal_zero_components.phpt ext/exif/tests/t emporary_buffer_leak.phpt ext/exif/tests/zero_length _makernote_leak.phpt

From: Date: Tue, 08 Oct 2019 12:11:32 +0000
Subject: com php-src: Add missing SKIPIFs in exif tests: ext/exif/tests/ duplicate_copyright_tag_leak.phpt ext/exif/tests/tag
_with_illegal_zero_components.phpt ext/exif/tests/t emporary_buffer_leak.phpt ext/exif/tests/zero_length _makernote_leak.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108801@lists.php.net to get a copy of this message
Commit: 46894580b06c1ba630a804ff0bbb9e61076720f4 Author: Fabien Villepinte <fabien.villepinte@gmail.com> Tue, 8 Oct 2019 13:50:03 +0200 Committer: Christoph M. Becker <cmbecker69@gmx.de> Tue, 8 Oct 2019 14:11:32 +0200 Parents: 195c2008e8f25040130e597f46cd652829c84dba Branches: PHP-7.2 PHP-7.3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=46894580b06c1ba630a804ff0bbb9e61076720f4 Log: Add missing SKIPIFs in exif tests Changed paths: M ext/exif/tests/duplicate_copyright_tag_leak.phpt M ext/exif/tests/tag_with_illegal_zero_components.phpt M ext/exif/tests/temporary_buffer_leak.phpt M ext/exif/tests/zero_length_makernote_leak.phpt Diff: diff --git a/ext/exif/tests/duplicate_copyright_tag_leak.phpt b/ext/exif/tests/duplicate_copyright_tag_leak.phpt index c5d50197941..3a4eccf1422 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 26422db7cac..f3e434ed102 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 cf136dd6486..fe7fe1d8a72 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 37d0e0c5731..246e267ddcc 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

« previous php.cvs (#108801) next »