source:
vendor/perl/5.8.8/lib/tainted.pl@
3310
| Last change on this file since 3310 was 3181, checked in by , 19 years ago | |
|---|---|
| File size: 164 bytes | |
| Rev | Line | |
|---|---|---|
| [3181] | 1 | # This subroutine returns true if its argument is tainted, false otherwise. |
| 2 | ||
| 3 | sub tainted { | |
| 4 | local($@); | |
| 5 | eval { kill 0 * $_[0] }; | |
| 6 | $@ =~ /^Insecure/; | |
| 7 | } | |
| 8 | ||
| 9 | 1; |
Note:
See TracBrowser
for help on using the repository browser.
