Bug 68518 - Incorrect warnings from perl -T?
Summary: Incorrect warnings from perl -T?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: perl
Version: limbo
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chip Turner
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-10 20:11 UTC by Owen Taylor
Modified: 2007-04-18 16:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-10 20:11:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Owen Taylor 2002-07-10 20:11:22 UTC
The following code snippet, when run with perl -T produces:

 Use of tainted arguments in exec is deprecated at testsuid.pl line 8.

As far as I can see, the arguments to exec are not tainted.

This is with perl-5.8.0-30. (Similar code worked fine with perl-5.6)

====
#!/usr/bin/perl -w

$ENV{PATH} = "/usr/bin:/bin";
$ENV{ENV} = "";

@cmd = qw(/bin/echo hi);

exec { $cmd[0] } @cmd;
====

Comment 1 Chip Turner 2002-07-15 05:02:26 UTC
fixed in rawhide (-33)


Note You need to log in before you can comment on or make changes to this bug.