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=15491>. 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=15491 A period in command produces an error in some config circumstances. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2003-01-13 19:38 ------- looks like exec*() is returning EFAULT in the failure case... mod_ext_filter wasn't properly building the argument array in the simple case where there are no quotation marks... sometimes it worked, sometimes exec*() hit bad storage... Here is the fix: Index: modules/filters/mod_ext_filter.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/filters/mod_ext_filter.c,v retrieving revision 1.1 diff -u -r1.1 mod_ext_filter.c --- modules/filters/mod_ext_filter.c 14 Nov 2002 20:22:50 -0000 1.1 +++ modules/filters/mod_ext_filter.c 13 Jan 2003 19:31:11 -0000 @@ -222,9 +222,10 @@ else { /* simple path */ - /* Allocate space for one argv pointer and parse the args. */ - filter->args = (char **)apr_palloc(p, sizeof(char *)); + /* Allocate space for two argv pointers and parse the args. */ + filter->args = (char **)apr_palloc(p, 2 * sizeof(char *)); filter->args[0] = ap_getword_white(p, args); + filter->args[1] = NULL; /* end of args */ } if (!filter->args[0]) { return "Invalid cmd= parameter"; It is now in CVS for Apache 2.1. I can't make any promises on whether or not it will be in 2.0.44, but it should be in one of the next couple of 2.0 releases. Thanks for your report, and thanks for using Apache! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
