Summary: | dev-libs/libtar _FORTIFY_SOURCE indicates presence of overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | hardened, signals |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 259417 | ||
Attachments: |
Build log
Fix buffer overflow on ustar magic field ebuild to apply the magic overflow patch |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 250013 [details]
Build log
Created attachment 261035 [details, diff]
Fix buffer overflow on ustar magic field
Created attachment 261036 [details]
ebuild to apply the magic overflow patch
In encode.c there was an attempt to strncpy the 8 character string "ustar " into a 6 character field in the ustar header. The ustar format calls for a 6 character field that contains "ustar" terminated by a null, so I've changed it to that. applied in -r4 |