Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664530

Summary: net-analyzer/sarg-2.3.11-r1 : util.c:555:20: error: %s directive writing up to 255 bytes into a region of size 30 [-Werror=format-overflow=]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: CONFIRMED ---    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-analyzer:sarg-2.3.11-r1:20180825-022301.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-08-25 03:16:26 UTC
util.c: In function ‘fixnum’:
util.c:555:20: error: ‘%s’ directive writing up to 255 bytes into a region of size 30 [-Werror=format-overflow=]
    sprintf(abbrev,"%s",num);
                    ^~  ~~~
In file included from /usr/include/stdio.h:862,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_libressl_20180816-174630

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1
 [3] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpv net-analyzer/sarg
[ebuild  N    ] net-analyzer/sarg-2.3.11-r1  USE="gd ldap pcre"
Comment 1 Toralf Förster gentoo-dev 2018-08-25 03:16:29 UTC
Created attachment 544924 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-25 03:16:32 UTC
Created attachment 544926 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-25 03:16:35 UTC
Created attachment 544928 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-25 03:16:38 UTC
Created attachment 544930 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-25 03:16:41 UTC
Created attachment 544932 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-25 03:16:44 UTC
Created attachment 544934 [details]
net-analyzer:sarg-2.3.11-r1:20180825-022301.log
Comment 7 Toralf Förster gentoo-dev 2018-08-25 03:16:47 UTC
Created attachment 544936 [details]
temp.tbz2