Project

General

Profile

Actions

Bug #7276

closed

Bug #7257: Rudder agent doesn't build with hardening flags

cfengine 3.6.0 doesn't compile with -Werror=format-security

Added by Benoît PECCATTE over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

bootstrap.c: In function 'WriteBuiltinFailsafePolicyToPath':
bootstrap.c:301:5: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(fout, bootstrap_content);
^
cc1: some warnings being treated as errors

Actions

Also available in: Atom PDF