4260. [security] Insufficient testing when parsing a message allowed
records with an incorrect class to be be accepted,
triggering a REQUIRE failure when those records
were subsequently cached. (CVE-2015-8000) [RT #4098]
(cherry picked from commit c8821d124c)
This commit is contained in:
@@ -68,6 +68,7 @@ my $NAMED = $ENV{'NAMED'};
|
||||
my $LWRESD = $ENV{'LWRESD'};
|
||||
my $DIG = $ENV{'DIG'};
|
||||
my $PERL = $ENV{'PERL'};
|
||||
my $PYTHON = $ENV{'PYTHON'};
|
||||
|
||||
# Start the server(s)
|
||||
|
||||
@@ -233,7 +234,9 @@ sub start_server {
|
||||
$pid_file = "lwresd.pid";
|
||||
} elsif ($server =~ /^ans/) {
|
||||
$cleanup_files = "{ans.run}";
|
||||
if (-e "$testdir/$server/ans.pl") {
|
||||
if (-e "$testdir/$server/ans.py") {
|
||||
$command = "$PYTHON ans.py 10.53.0.$' 5300";
|
||||
} elsif (-e "$testdir/$server/ans.pl") {
|
||||
$command = "$PERL ans.pl";
|
||||
} else {
|
||||
$command = "$PERL $topdir/ans.pl 10.53.0.$'";
|
||||
|
||||
Reference in New Issue
Block a user