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

Bug 337314

Summary: media-video/motioneye _FORTIFY_SOURCE indicates presence of overflow
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: Current packagesAssignee: Patrick Kursawe (RETIRED) <phosphan>
Severity: major CC: hardened, media-video
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: Build log

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.