source: src/router/php7/ext/exif/tests/bug68113-mb.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 528 bytes
Line 
1--TEST--
2Bug #68113 (Heap corruption in exif_thumbnail())
3--SKIPIF--
4<?php
5extension_loaded("exif") or die("skip need exif");
6?>
7--FILE--
8<?php
9var_dump(exif_thumbnail(__DIR__."/bug68113私はガラスを食べられたす.jpg"));
10?>
11Done
12--EXPECTF--
13Warning: exif_thumbnail(bug68113私はガラスを食べられたす.jpg): File structure corrupted in %s%ebug68113-mb.php on line 2
14
15Warning: exif_thumbnail(bug68113私はガラスを食べられたす.jpg): Invalid JPEG file in %s%ebug68113-mb.php on line 2
16bool(false)
17Done
Note: See TracBrowser for help on using the repository browser.