Summary: | net-misc/sipcalc _FORTIFY_SOURCE indicates presence of overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Krzysztof Pawlik (RETIRED) <nelchael> |
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 sipcalc-1.1.4.ebuild to fix reported overflow (and one other warning) |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 247813 [details]
Build log
Created attachment 253949 [details, diff]
Patch to sipcalc-1.1.4.ebuild to fix reported overflow (and one other warning)
This patch adds two sed statements. The first fixes a format string warning. The second adjusts the offending snprintf statements to use sizeof() to compute the length, which fixes the _FORTIFY_SOURCE warning.
Version 1.1.5 which is in the tree doesn't suffer from this issue. Thank you Kevin for your contribution. |