https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80895
Bug ID: 80895
Summary: format not a string literal and no format arguments;
in GCC itself
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: miloradovsky at gmail dot com
Target Milestone: ---
Created attachment 41428
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41428&action=edit
a trivial patch
GCC couldn't be compiled with `-Werror=format-security`, now it can.
The motivation is here (although that post is somewhat outdated):
-
https://unix.stackexchange.com/questions/356232/disabling-the-security-hardening-options-for-a-nix-shell-environment