Summary: | net-analyzer/hping _FORTIFY_SOURCE indicates presence of overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | hardened, jer |
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 hping-3_pre20051105-r2.ebuild to address memcpy overflow |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 250011 [details]
Build log
Created attachment 250043 [details, diff]
Patch to hping-3_pre20051105-r2.ebuild to address memcpy overflow
The value passed as sizeof() to the memcpy was unrelated to the value being filled by the memcpy, so the computed size was too big. This patch adds a sed to rewrite the offending memcpy to use sizeof on the value receiving the data.
Fixed in hping-3_pre20051105-r3.ebuild. |