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 #71475: openssl_seal() uninitialized memory usage --EXTENSIONS-- openssl --FI..

Decoded Output download

--TEST--
Bug #71475: openssl_seal() uninitialized memory usage
--EXTENSIONS--
openssl
--FILE--
<?php
$_ = str_repeat("A", 512);
try {
    openssl_seal($_, $_, $_, array_fill(0,64,0));
} catch (TypeError $e) {
    echo $e->getMessage(), "
";
}
?>
DONE
--EXPECT--
openssl_seal() expects at least 5 arguments, 4 given
DONE

Did this file decode correctly?

Original Code

--TEST--
Bug #71475: openssl_seal() uninitialized memory usage
--EXTENSIONS--
openssl
--FILE--
<?php
$_ = str_repeat("A", 512);
try {
    openssl_seal($_, $_, $_, array_fill(0,64,0));
} catch (TypeError $e) {
    echo $e->getMessage(), "\n";
}
?>
DONE
--EXPECT--
openssl_seal() expects at least 5 arguments, 4 given
DONE

Function Calls

str_repeat 1

Variables

None

Stats

MD5 fceff16151cf3e504b55be5ead1e4c89
Eval Count 0
Decode Time 83 ms