New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undef is never tainted #2681
Comments
From pimlott@idiomtech.comCreated by pimlott@idiomtech.comThere are times when external data can cause a variable to be set to undef, #!/usr/bin/perl -T sub is_tainted { ! eval { join('',@_), kill 0; 1 } } open IN, '/etc/passwd' or die $!; # any non-empty file will do here This prints variable is defined and tainted Since the contents of the file may control when the result of <> is undef, Andrew Perl Info
|
Migrated from rt.perl.org#4380 (status was 'resolved')
Searchable as RT4380$
The text was updated successfully, but these errors were encountered: