$foo, $bar, and "the $foo" are not tainted. Try appending the following to the script:
print "5. tainted\n" if tainted($bar); print "6. tainted\n" if tainted("the $foo");
Neither line prints.
Good Day,
Dean
In reply to Re^2: "one tainted value taints the whole expression"
by duelafn
in thread "one tainted value taints the whole expression"
by duelafn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |