Cross Reference:
xref
: /
illumos-gate
/
usr
/
src
/
cmd
/
perl
/
5.6.1
/
distrib
/
lib
/
tainted.pl
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
tainted.pl revision 7c478bd95313f5f23a4c958a745db2134aa03244
# This subroutine returns true if its argument is tainted, false otherwise.
sub
tainted
{
local
($@);
eval
{
kill
0
* $_[
0
] };
$@ =~ /^
Insecure
/;
}
1
;