httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 57525] New: mod_macro use-after-clear bug
Date Mon, 02 Feb 2015 23:57:11 GMT

            Bug ID: 57525
           Summary: mod_macro use-after-clear bug
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other Modules

Created attachment 32426
ap_macros initialization patch

Upon Apache 2.4.12 (or 2.4.10) termination, glibc reports a corrupted
double-linked list.
*** Error in `/usr/sbin/httpd': corrupted double-linked list: 0x5674b738 ***
======= Backtrace: =========
======= Memory map: ========
56555000-5666a000 r-xp 00000000 fd:07 11482                             
5666a000-5666e000 r--p 00115000 fd:07 11482                             
5666e000-56671000 rw-p 00119000 fd:07 11482                             
56671000-567db000 rw-p 00000000 00:00 0                                  [heap]

Apache 2.4.10 and 2.4.12 were both built from source on a Gentoo hardened

I tracked it down to a use-after-clear (cmd->temp_pool) bug on (lazy
initialization) of ap_macros.

I have attached a patch that fixes the problem and have confirmed that the APR
memory pool apr_global_pool->allocator->free[1] list is no longer corrupted.


You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message