A
Asterbing
Hello. This script below crashes perl.exe when in taint mode. I've not
any message in error log.
#!/usr/bin/perl -T
print "Content-type: text/html\n\n";
my $pid = fork();
die "fork: $!\n" unless defined $pid;
if (!$pid){
print "son ok<br>";
exit 0;}
print "daddy ok<br>";
exit 0;
It seems like the problem happen on line "my $pid = fork();" because if
I stop the script just below using an "exit 0;", it crashes the same
way.
any message in error log.
#!/usr/bin/perl -T
print "Content-type: text/html\n\n";
my $pid = fork();
die "fork: $!\n" unless defined $pid;
if (!$pid){
print "son ok<br>";
exit 0;}
print "daddy ok<br>";
exit 0;
It seems like the problem happen on line "my $pid = fork();" because if
I stop the script just below using an "exit 0;", it crashes the same
way.