]> 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)
commit652e5b19ce66a8e33022c55eba9738ea8083449e
tree55f4eef6bbcd6a31204da4db8a7d4886b66f3d1c
parent470adc87c81ab414cf3f56a9876cee5cb1f5fa71
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