]> granicus.if.org Git - apache/commit
change ap_unix_create_privileged_process() to allocate enough space in
authorGreg Ames <gregames@apache.org>
Thu, 27 Dec 2001 19:53:37 +0000 (19:53 +0000)
committerGreg Ames <gregames@apache.org>
Thu, 27 Dec 2001 19:53:37 +0000 (19:53 +0000)
commit1a6badc1506aae61c5ad8c83750f903373bf9e09
tree55f4eef6bbcd6a31204da4db8a7d4886b66f3d1c
parent34d94cb657663e4bd51b6a93bbb307924ad03db8
change ap_unix_create_privileged_process() to allocate enough space in
the newargs array to allow for a null terminator.  This allows suexec and
mod_cgid to work together reliably.

Apparently, rounding up the size to a multiple of 8 bytes in apr_palloc
hid the problem sometimes.  At other times, suexec would complain
about a null command name.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92627 13f79535-47bb-0310-9956-ffa450edef68
STATUS
os/unix/unixd.c