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

Bug 686088

Summary: sys-auth/pam_p11-0.2.0 : /.../string_fortified.h:106:10: error: _builtin_strncpy specified bound 32 equals destination size [-Werror=stringop-truncation]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=685044
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-auth:pam_p11-0.2.0:20190516-080547.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-16 08:18:09 UTC
In function ‘strncpy’,
    inlined from ‘main’ at test.c:58:4:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-developer_20190510-230707

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1 *
  [2]   rust-1.34.1
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO sys-auth/pam_p11
[ebuild  N    ] sys-auth/pam_p11-0.2.0
Comment 1 Toralf Förster gentoo-dev 2019-05-16 08:18:12 UTC
Created attachment 576894 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-16 08:18:15 UTC
Created attachment 576896 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-16 08:18:18 UTC
Created attachment 576898 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-16 08:18:21 UTC
Created attachment 576900 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-16 08:18:24 UTC
Created attachment 576902 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-16 08:18:27 UTC
Created attachment 576904 [details]
sys-auth:pam_p11-0.2.0:20190516-080547.log
Comment 7 Toralf Förster gentoo-dev 2019-05-16 08:18:29 UTC
Created attachment 576906 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-05-17 19:15:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77378ffef5ca28c1c4f9c1da7c245b0b31424a87

commit 77378ffef5ca28c1c4f9c1da7c245b0b31424a87
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-05-17 19:14:24 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-05-17 19:15:22 +0000

    sys-auth/pam_p11: version bump
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=686088
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-auth/pam_p11/Manifest             |  1 +
 sys-auth/pam_p11/pam_p11-0.3.0.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)