Summary: | media-radio/xastir _FORTIFY_SOURCE indicates presence of overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Thomas Beierlein <tomjbe> |
Status: | RESOLVED FIXED | ||
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 |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 247356 [details]
Build log
Looks like an false positive. The code in question is: rac_record racdata; ... rc = fgets((char *)&racdata, sizeof(racdata), fdb); That looks perfectly legal to me, but the __bos macro seems to get the size of the buffer wrong (counting the struct members and checking sizeof() gives the same value as used by the program - 480). Any idea to give the compiler a simple hint about the size of the buffer? +*xastir-1.9.8-r1 (24 Sep 2010) + + 24 Sep 2010; Thomas Beierlein <tomjbe@gentoo.org> +xastir-1.9.8-r1.ebuild, + +files/xastir-1.9.8-fortify.diff: + Fix for bug #337365 (Thanks Diego for reporting) and fix installdir for + doc files + |