Summary: | net-analyzer/sarg-2.3.11 - report.c: In function ‘gerarel’: report.c:244:44: error: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size between 125 and 252 [-Werror=format-truncation=] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gentoo |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=641250 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
sarg-2.3.11-build-error
complete build log sarg-2.3.11-format.patch |
Description
gentoo
2018-01-19 07:20:07 UTC
Please attach the entire build log to this bug report. Created attachment 515352 [details]
sarg-2.3.11-build-error
Greetings, Linux version 4.14.14-gentoo (root@orion) (gcc version 7.2.0 (Gentoo 7.2.0-r1 p1.1)) #2 SMP Sat Jan 20 13:55:46 EET 2018 gcc (Gentoo 7.2.0-r1 p1.1) 7.2.0 Created attachment 515356 [details]
complete build log
Somehow I can't seem to trigger the build system to show any warnings at all, and with a configuration very similar to yours at that. Created attachment 515362 [details, diff]
sarg-2.3.11-format.patch
Could you try this patch, please? I have it in 2.3.10 already, I am not sure if upstream would approve, but it does seem to be a bit smarter about the size calculation.
Oh wait, maybe my compiler choice settings hadn't trickled through to the right shell yet. Should be fixed now. |