httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46529] Child httpd processes crash with Segmentation fault
Date Mon, 14 Sep 2009 07:53:00 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46529

--- Comment #6 from Roman Belous <rorick@gmail.com> 2009-09-14 00:52:55 PDT ---
(In reply to comment #5)
> Is this still an issue?
> 
> There's a casting that looks potentially suspect to me, and a comment in the
> code suggesting it's there for gcc's benefit, which might not play well with
> other compilers.  Can you test whether the following patch fixes it for you?
> 
> --- server/util.c    (revision 804541)
> +++ server/util.c    (working copy)
> @@ -1666,7 +1666,7 @@
>      what = apr_xlate_conv_byte(ap_hdrs_to_ascii, (unsigned char)what);
>  #endif /*APR_CHARSET_EBCDIC*/
>      *where++ = prefix;
> -    *where++ = c2x_table[what >> 4];
> +    *where++ = c2x_table[(what >> 4) & 0xf];
>      *where++ = c2x_table[what & 0xf];
>      return where;
>  }
> 
> (you'll get a small offset applying that to 2.0.x).
> 
> If that is indeed the issue, then it hasn't been fixed in the current version.

We removed %l %u from LogFormat on our production system. Issue stopped to
reproduce after that. I'm not sure that we will have a chance to test the patch
but I'll notify responsible person about it.

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message