Bug 64178 - mod_deflate.c doesn't build with -Werror=format-overflow
Summary: mod_deflate.c doesn't build with -Werror=format-overflow
Status: CLOSED WONTFIX
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.41
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2020-02-26 08:27 UTC by Giovanni Bechis
Modified: 2021-09-06 07:17 UTC (History)
1 user (show)



Attachments
patch (1.11 KB, patch)
2020-02-26 18:21 UTC, jfclere
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Bechis 2020-02-26 08:27:24 UTC
In 2.4 branch mod_deflate.c fails to compile if -Werror=format-overflow is specified.
A patch has been committed to trunk.
https://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_deflate.c?r1=1868313&r2=1874346
Comment 1 Giovanni Bechis 2020-02-26 17:49:09 UTC
A similar error is present in mod_brotli and a patch has been committed in trunk.
https://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_brotli.c?r1=1868313&r2=1874545
Comment 2 jfclere 2020-02-26 18:21:39 UTC
Created attachment 37049 [details]
patch
Comment 3 Giovanni Bechis 2020-03-10 21:59:07 UTC
Committed to 2.4 in revision r1874866.