Reply to post: Re: Stupidest bug ever

Bash bug: Shellshocked yet? You will be ... when this goes WORM

Gordon 11

Re: Stupidest bug ever

For example, under what circumstances does Perl's system() function invoke a shell?
When it is passed a string containing active shell characters.

Which is why you should always invoke it with an array, as that will always fork()+exec() and, of course, read documentation, which is where this is mentioned.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019