Summary: | games-action/barrage _FORTIFY_SOURCE indicates presence of overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
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
Patch to barrage-1.0.2-r1 to increase size of menu member name[] |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 247683 [details]
Build log
Created attachment 247745 [details, diff]
Patch to barrage-1.0.2-r1 to increase size of menu member name[]
Upstream uses a hardcoded size to snprintf and subscripts the member name as though it were [24], but declared it to be [20]. This caused a "guaranteed overflow" warning and an "array subscript above bounds" warning. This patch increases the size of name[] to 24 so that the specified limits are now valid.
fixed in portage. thanks for the patch. |