Nameless, valueless cookie causes Apache segmentation faults when logging cookies
Issue
-
Apache is seg faulting. Core's captured indicate threads handling logging of nameless, valueless cookies:
0 apr_collapse_spaces (dest=0x0, src=0x0) at strings/apr_cpystrn.c:220 1 0x00002ab75e0df7a4 in log_cookie (r=0xcb0540, a=0x5a9288 "JSESSIONID") at mod_log_config.c:528 2 0x00002ab75e0def19 in process_item (r=0xcb0540, cls=0x59c6a0, default_format=<value optimized out>) at mod_log_config.c:943 3 config_log_transaction (r=0xcb0540, cls=0x59c6a0, default_format=<value optimized out>) at mod_log_config.c:1006 4 0x00002ab75e0defe7 in multi_log_transaction (r=0x0) at mod_log_config.c:1037 5 0x00000000004291ea in ap_run_log_transaction (r=0xcb0540) at protocol.c:1696 6 0x00000000004438c7 in ap_process_request (r=0xcb0540) at http_request.c:308 7 0x0000000000440c0c in ap_process_http_connection (c=0xca8728) at http_core.c:190 8 0x000000000043d192 in ap_run_process_connection (c=0xca8728) at connection.c:43 9 0x00000000004487a6 in process_socket (thd=0x6757b0, dummy=<value optimized out>) at worker.c:544 10 worker_thread (thd=0x6757b0, dummy=<value optimized out>) at worker.c:894 11 0x00002ab75c8222a3 in start_thread () from /lib64/libpthread.so.0 12 0x00002ab75cafb49d in clone () from /lib64/libc.so.6
Environment
- Apache httpd
- 2.2.17 - 2.2.21
- Jboss Enterprise Web Server 1.0.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.