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

Bug 340143

Summary: dev-util/cmake _FORTIFY_SOURCE indicates presence of overflow
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: major CC: hardened
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: Build log
Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-08 13:12:40 UTC
You're receiving this bug because the package in Summary has produced _FORTIFY_SOURCE related warnings indicating the presence of a sure overflow in a static buffer.

Even though this is not always an indication of a security problem it might even be. So please check this out ASAP.

By the way, _FORTIFY_SOURCE is disabled when you disable optimisation, so don't try finding out the cause using -O0.

Thanks,
Your friendly neighborhood tinderboxer
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-08 13:13:11 UTC
Created attachment 249926 [details]
Build log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-16 14:27:56 UTC
Created attachment 250861 [details]
Build log
Comment 3 David J Cozatt 2010-12-05 23:53:49 UTC
QA: other                                                                     │
│QA Notice: Package has poor programming practices which may compile           │
│           fine but exhibit random runtime failures.                          │
│/usr/include/bits/stdio2.h:35:43: warning: call to int                        │
│__builtin___sprintf_chk(char*, int, long unsigned int, const char*, ...) will
always overflow destination buffer                                            │
│/usr/include/bits/stdio2.h:35:43: warning: call to int                        │
│__builtin___sprintf_chk(char*, int, long unsigned int, const char*, ...) will │
│always overflow destination buffer                                            │
│/usr/include/bits/stdio2.h:35:43: warning: call to int                        │
│__builtin___sprintf_chk(char*, int, long unsigned int, const char*, ...) will │
│always overflow destination buffer                                            │
│/usr/include/bits/string3.h:123:3: warning: call to __builtin___strncpy_chk
will always overflow destination buffer 
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2010-12-25 15:43:30 UTC

*** This bug has been marked as a duplicate of bug 329043 ***