httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46380] New: Apache 2.2.10 and suexec extra argv
Date Thu, 11 Dec 2008 12:38:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46380

           Summary: Apache 2.2.10 and suexec extra argv
           Product: Apache httpd-2
           Version: 2.2.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: worker
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: russ@cpanel.net


With the recent apache 2.2.10 update, @ARGV is being populated with an extra
empty argument.  Here is an example from straces of what httpd is trying to
run:

strace of process calling suexec with apache 2.2.10

[pid 18070] execve("/usr/local/apache/bin/suexec",
["/usr/local/apache/bin/suexec", "2057", "2051",
"rick.pl", ""], [/* 24 vars */]) = 0

same in apache 2.2.9

[pid 21364] execve("/usr/local/apache/bin/suexec",
["/usr/local/apache/bin/suexec", "2057", "2051",
"rick.pl"], [/* 24 vars */]) = 0


you'll notice in the 2.2.10 example, there is an empty arg being passed.  This
can easily be duplicated on any apache 2.2.10 server.

   This only occurs with MPM_Worker enabled on the server. It don't appear in
MPM_Prefork for this in default setting.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message