Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Bug in perl command line processing?

by EvanCarroll (Chaplain)
on May 22, 2012 at 20:54 UTC ( [id://971872]=note: print w/replies, xml ) Need Help??


in reply to Re: Bug in perl command line processing?
in thread Bug in perl command line processing?

Right that is obviously what is doing, but is that safe for Perl and not the shell to break apart an argument on spaces? This seems dangerous. You now need to sanitize your backup-character-extensions for space characters because perl may otherwise execute it as code?


Evan Carroll
The most respected person in the whole perl community.
www.evancarroll.com
  • Comment on Re^2: Bug in perl command line processing?

Replies are listed 'Best First'.
Re^3: Bug in perl command line processing?
by sauoq (Abbot) on May 22, 2012 at 21:00 UTC

    I think you found a real bug. And, sure, there are security implications. Theoretically, anyway. There are probably not that many places where this poses a real security threat. There's more potential for it to cause things to break and leave people scratching their heads though.

    -sauoq
    "My two cents aren't worth a dime.";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://971872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found