Re: Insecure dependency in unlink while running with -T switch

2007-07-08 Thread Randal L. Schwartz
> "Clinton" == Clinton Gormley <[EMAIL PROTECTED] > writes: >> $fp =~ /(.*)/; Clinton> This doesn't untaint $fp. Clinton> instead, you could do this: Clinton> ( $fp )=( $fp =~ /(.*)/ ); Don't forget the /s. Remember, Unix paths can contain newline. -- Randal L. Schwartz - Stonehenge Co

Re: Insecure dependency in unlink while running with -T switch

2007-07-08 Thread stevethames
d, you need to assign the result > of a regex capture to the variable, not just do a regex check > > Clint > > > -- View this message in context: http://www.nabble.com/Insecure-dependency-in-unlink-while-running-with--T-switch-tf4045039.html#a11490823 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Insecure dependency in unlink while running with -T switch

2007-07-08 Thread Clinton Gormley
> $fp =~ /(.*)/; This doesn't untaint $fp. instead, you could do this: ( $fp )=( $fp =~ /(.*)/ ); To untaint a variable using this method, you need to assign the result of a regex capture to the variable, not just do a regex check Clint

Insecure dependency in unlink while running with -T switch

2007-07-08 Thread stevethames
by using a cron job. If anyone has any ideas, though, I'd love to hear them. -- View this message in context: http://www.nabble.com/Insecure-dependency-in-unlink-while-running-with--T-switch-tf4045039.html#a11490226 Sent from the mod_perl - General mailing list archive at Nabble.com.