[PostGIS] #6092: fuzzingengine doesn't use hardening CPPFLAGS
PostGIS
trac at osgeo.org
Mon Jul 6 07:59:03 PDT 2026
#6092: fuzzingengine doesn't use hardening CPPFLAGS
----------------------------+---------------------------
Reporter: Bas Couwenberg | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.7.0
Component: build | Version: master
Keywords: |
----------------------------+---------------------------
The blhc CI job failed for the Debian package build:
{{{
5635:CPPFLAGS missing (-D_FORTIFY_SOURCE=2): cc -g -O2 -Werror=implicit-
function-declaration -ffile-prefix-map=/build/package/package=. -fstack-
protector-strong -fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -c -o fuzzingengine.o
/build/package/package/fuzzers/fuzzingengine.c
}}}
https://salsa.debian.org/debian-gis-team/postgis/-/jobs/9911778
The attached patch fixes the issue by using `CPPFLAGS` in addition to
`CFLAGS`.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6092>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list