https://issues.apache.org/bugzilla/show_bug.cgi?id=46529



--- Comment #5 from Nick Kew <[email protected]> 2009-08-22 18:00:12 PDT ---
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.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to