httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 56924] mod_cache segmentation fault when Content-Type has empty value
Date Mon, 08 Sep 2014 04:52:23 GMT

Mark Montague <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Mark Montague <> ---
Created attachment 31973
patch to fix Content-Type empty value segfault

modules/cache/cache_util.c: Fix the segfault by checking the return value of
ap_make_content_type() before adding it to the output headers table (only add
it if it is not NULL).

server/util_script.c: Correct a logic error in processing the Content-Type
script header, although the error does not appear to negatively affect anything
and is unrelated to the segmentation fault.

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