httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56924] mod_cache segmentation fault when Content-Type has empty value
Date Mon, 08 Sep 2014 04:52:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56924

Mark Montague <mark@catseye.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark@catseye.org

--- Comment #1 from Mark Montague <mark@catseye.org> ---
Created attachment 31973
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31973&action=edit
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message