Cross Reference: security.t
xref
: /
osnet-11
/
usr
/
src
/
cmd
/
perl
/
5.8.4
/
distrib
/
lib
/
Digest
/
t
/
security.t
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
#!/
usr
/
bin
/
env
perl
# Digest->new() had an exploitable eval
use
strict
;
use
warnings
;
use
Test
::
More
tests
=>
1
;
use
Digest
;
$LOL
::
PWNED
=
0
;
eval
{
Digest
->
new
(q[
MD
;
5
;
$LOL
::
PWNED
=
42
])
};
is
$LOL
::
PWNED
,
0
;