Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #73052: Memory Corruption in During Deserialized-object Destruction --FILE-- ..
Decoded Output download
--TEST--
Bug #73052: Memory Corruption in During Deserialized-object Destruction
--FILE--
<?php
class obj {
var $ryat;
public function __destruct() {
$this->ryat = null;
}
}
$poc = 'O:3:"obj":1:{';
var_dump(unserialize($poc));
?>
--EXPECTF--
Notice: unserialize(): Error at offset 13 of 13 bytes in %sbug73052.php on line %d
bool(false)
Did this file decode correctly?
Original Code
--TEST--
Bug #73052: Memory Corruption in During Deserialized-object Destruction
--FILE--
<?php
class obj {
var $ryat;
public function __destruct() {
$this->ryat = null;
}
}
$poc = 'O:3:"obj":1:{';
var_dump(unserialize($poc));
?>
--EXPECTF--
Notice: unserialize(): Error at offset 13 of 13 bytes in %sbug73052.php on line %d
bool(false)
Function Calls
None |
Stats
MD5 | 61e3c7391fcce11e36005dadf1fb6d4b |
Eval Count | 0 |
Decode Time | 98 ms |