Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340143 - dev-util/cmake _FORTIFY_SOURCE indicates presence of overflow
Summary: dev-util/cmake _FORTIFY_SOURCE indicates presence of overflow
Status: RESOLVED DUPLICATE of bug 329043
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2010-10-08 13:12 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-12-25 15:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (cmake-2.6.4-r3:20101008-011326.log,324.28 KB, text/plain)
2010-10-08 13:13 UTC, Diego Elio Pettenò (RETIRED)
Details
Build log (cmake-2.8.1-r2:20101016-133800.log,415.07 KB, text/plain)
2010-10-16 14:27 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***