Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337314 - media-video/motioneye _FORTIFY_SOURCE indicates presence of overflow
Summary: media-video/motioneye _FORTIFY_SOURCE indicates presence of overflow
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Patrick Kursawe (RETIRED)
Depends on:
Blocks: fortify-source
  Show dependency tree
Reported: 2010-09-14 16:48 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-09-14 21:26 UTC (History)
2 users (show)

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

Build log (motioneye-1.3-r1:20100914-143710.log,5.07 KB, text/plain)
2010-09-14 16:48 UTC, Diego Elio Pettenò (RETIRED)

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-09-14 16:48:04 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.

Your friendly neighborhood tinderboxer
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-14 16:48:16 UTC
Created attachment 247302 [details]
Build log
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2010-09-14 21:26:35 UTC
Overwriting these buffers is definitely not security relevant, but I've replaced the strcpy with strncpy to eliminate these warnings. Btw, LDFLAGS should be respected now. Thanks for the hint.