blob: 5cba122b22c3a2b2565811a2f69618cb1122bbaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/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;
|