>> > >>
>> > >>produces this:
>> > >>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
>> > >


I had this problem and this exact same message on a linux server cause I had
my CGI running SUID and calling my perl code.

The c program calls my perl code

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <unistd.h>

void main () {
setuid(0);
setgid(0);
        system("/usr/bin/perl program.pl");
setuid(666);
setgid(666);
}

#head -1 program.pl

#!/usr/bin/perl   -wT

This produces your error message because it was too late for the T option.
Putting the -T option in the c code solved the problem. Are you doing
something similar?

Cheers

Kevin

Reply via email to