blob: 5cba122b22c3a2b2565811a2f69618cb1122bbaa [file] [log] [blame]
#!/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;