mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
With opcache, zend_string_init_interned() will allocate non-interned strings at runtime because shm is locked. Hence, we need to make sure to actually free this string. Fixes OSS-Fuzz #433303828 Closes GH-19211
14 lines
260 B
PHP
14 lines
260 B
PHP
--TEST--
|
|
OSS-Fuzz #433303828
|
|
--FILE--
|
|
<?php
|
|
|
|
unserialize('O:2:"yy": ');
|
|
unserialize('O:2:"yy":: ');
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: unserialize(): Error at offset 9 of 10 bytes in %s on line %d
|
|
|
|
Warning: unserialize(): Error at offset 10 of 11 bytes in %s on line %d
|