On Tue, Dec 10, 2002 at 08:09:41PM -0000, Darrell May <[EMAIL PROTECTED]> wrote:
> 
> Abe Loveless <[EMAIL PROTECTED]> said:
> 
> > The line referenced in the error is the following:
> >     system ("/bin/rm -f /opt/utilities/mkcdrec/backup_archive/".
> > $iso) == 0
> >             or die ("Error occurred while removing ". $iso ."\n");
> 
> This might work:
> 
> system ("/bin/rm", "-f", "/opt/utilities/mkcdrec/backup_archive/$iso") == 0
> or die ("Error occurred while removing $iso\n");

No, it won't work for the same reason. Perl is complaining about the
use of a variable ( $iso ) which has probably come straight from a web
panel or other user input without other validation.

Gordon
--
 Gordon Rowell                         [EMAIL PROTECTED]
 Director, Engineering
 Network Server Solutions Group        http://www.e-smith.com/
 Mitel Networks Corporation            http://www.mitel.com/smallbusiness


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to