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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to