about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-06-12 22:54:10 -0400
committerGitHub <noreply@github.com>2018-06-12 22:54:10 -0400
commit412e823f295830c3ab54d6a35d5a603bd8ec58ea (patch)
tree551b2a7bdc1b9635d24fd4cbbbc55b4f3a114408 /pkgs/servers
parent7f3de607584bd21b5b2512e2551a9f13289b2d7a (diff)
downloadnixlib-412e823f295830c3ab54d6a35d5a603bd8ec58ea.tar
nixlib-412e823f295830c3ab54d6a35d5a603bd8ec58ea.tar.gz
nixlib-412e823f295830c3ab54d6a35d5a603bd8ec58ea.tar.bz2
nixlib-412e823f295830c3ab54d6a35d5a603bd8ec58ea.tar.lz
nixlib-412e823f295830c3ab54d6a35d5a603bd8ec58ea.tar.xz
nixlib-412e823f295830c3ab54d6a35d5a603bd8ec58ea.tar.zst
nixlib-412e823f295830c3ab54d6a35d5a603bd8ec58ea.zip
binutils: disable format hardening
This fails for me:

> compressed_output.cc:320:20: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
>       gold_warning(_("not compressing section data: zlib error"));
>                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./system.h:40:20: note: expanded from macro '_'
> # define _(String) gettext (String)
>                    ^~~~~~~~~~~~~~~~
> compressed_output.cc:320:20: note: treat the string as an argument to avoid this
>       gold_warning(_("not compressing section data: zlib error"));
>                    ^
>                    "%s",
> ./system.h:40:20: note: expanded from macro '_'
> # define _(String) gettext (String)
                   ^

Disabling format hardening should hopefully be harmless here. If it's a problem we can also make it conditional.

/cc @Ericson2314
Diffstat (limited to 'pkgs/servers')
0 files changed, 0 insertions, 0 deletions