DO NOT REPLY [Bug 7791] - mod_suexec problem

2003-02-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791

mod_suexec problem

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 7791] - mod_suexec problem

2002-05-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791

mod_suexec problem





--- Additional Comments From [EMAIL PROTECTED]  2002-05-26 00:56 ---
I'm seeing this bug aswell in 2.036 and CVS. suexec is getting passed args 
ala:

   /path/to/suexec (~)uid gid cmdname argv0 argv1 argv2 

and so on. Previously in 1.3 it was : 

   /path/to/suexec (~)uid gid argv0 argv1 argv2 

and argv0 was assumed to == cmdname. This patch reverts to the previous
behaviour.

Index: os/unix/unixd.c
===
RCS file: /home/cvspublic/httpd-2.0/os/unix/unixd.c,v
retrieving revision 1.52
diff -u -u -r1.52 unixd.c
--- os/unix/unixd.c 17 May 2002 11:33:10 -  1.52
+++ os/unix/unixd.c 26 May 2002 00:47:29 -
@@ -350,16 +350,16 @@
}
 }
 /* allocate space for 4 new args, the input args, and a null terminator */
-newargs = apr_palloc(p, sizeof(char *) * (i + 5));
+newargs = apr_palloc(p, sizeof(char *) * (i + 4));
 newprogname = SUEXEC_BIN;
 newargs[0] = SUEXEC_BIN;
 newargs[1] = execuser;
 newargs[2] = execgroup;
 newargs[3] = apr_pstrdup(p, progname);

-i = 0;
+i = 1;
 do {
-newargs[i + 4] = args[i];
+newargs[i + 3] = args[i];
 } while (args[i++]);

 return apr_proc_create(newproc, newprogname, newargs, env, attr, p);

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 7791] - mod_suexec problem

2002-05-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791

mod_suexec problem





--- Additional Comments From [EMAIL PROTECTED]  2002-05-26 01:13 ---
patch works for me (2.0.35)

Octave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 7791] - mod_suexec problem

2002-05-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791

mod_suexec problem

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-05-26 08:36 ---
thanks, I've committed the patch

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 7791] - mod_suexec problem

2002-05-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791

mod_suexec problem





--- Additional Comments From [EMAIL PROTECTED]  2002-05-22 21:04 ---
I have tester this on Redhat Linux 7.2 with cvs head of both apache-1.3 and
httpd-2.0. I get the same behavior from the identical cgi run on both versions
of Apache. Parms $1, $2, and $3 all line up the same in my tests.

Could you retry your tests with the latest versions of Apache 1.3 and 2.0?
If I don't hear from you to the contrary, I will close this in a couple of days
since it works for me.

Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 7791] - mod_suexec problem

2002-04-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7791

mod_suexec problem

[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Other Modules   |mod_suexec