php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #276 Exec() series of functions don't unslashify quoted metacharacters
Submitted: 1998-04-15 14:29 UTC Modified: 1998-04-15 15:52 UTC
From: ryan at netidea dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 3 OS: linux 2.0.33, apache 1.2.5 modul
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 + 17 = ?
Subscribe to this entry?

 
 [1998-04-15 14:29 UTC] ryan at netidea dot com
The short line pretty much describes it all... a call like:
System("/bin/program \#argh");
will call "/bin/program" with the first parameter
set to "\#argh", not "#argh" as one would expect...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-15 15:52 UTC] zeev
Nothing to do with exec() - that's the way
double quotes behave
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC