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

Bug 664766

Summary: net-dns/validns-0.8 : ipseckey.c:114:35: error: %s directive output may be truncated writing up to 1023 bytes into a region of size between 1010 and 1016 [-Werror=format-truncation=]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, kentnl, mgorny, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-dns:validns-0.8:20180828-090851.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-08-28 15:57:40 UTC
cc -Wall -Werror -pthread -fno-strict-aliasing -O2 -g -c -o ipseckey.o ipseckey.c -I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include
ipseckey.c: In function ‘ipseckey_human’:
ipseckey.c:114:35: error: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1010 and 1016 [-Werror=format-truncation=]
     snprintf(s, 1024, "( %d %d %d %s ... )",
                                   ^~
       rr->precedence, rr->gateway_type, rr->algorithm, gw);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20180819-105812

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

gcc-config -l:
 [1] 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)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.8.0 [icedtea-8]
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpv net-dns/validns
[ebuild  N    ] net-dns/validns-0.8  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2018-08-28 15:57:43 UTC
Created attachment 545312 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-28 15:57:46 UTC
Created attachment 545314 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-28 15:57:50 UTC
Created attachment 545316 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-28 15:57:55 UTC
Created attachment 545318 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-28 15:57:58 UTC
Created attachment 545320 [details]
net-dns:validns-0.8:20180828-090851.log
Comment 6 Toralf Förster gentoo-dev 2018-08-28 15:58:01 UTC
Created attachment 545322 [details]
temp.tbz2
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-21 19:13:58 UTC
Package removed.