Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261035 Details for
Bug 340253
dev-libs/libtar _FORTIFY_SOURCE indicates presence of overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix buffer overflow on ustar magic field
libtar-1.2.11-magic-overflow.patch (text/plain), 351 bytes, created by
Kevin McCarthy (RETIRED)
on 2011-01-29 19:56:58 UTC
(
hide
)
Description:
Fix buffer overflow on ustar magic field
Filename:
MIME Type:
Creator:
Kevin McCarthy (RETIRED)
Created:
2011-01-29 19:56:58 UTC
Size:
351 bytes
patch
obsolete
>--- libtar-1.2.11.orig/lib/encode.c 2003-01-06 20:40:59.000000000 -0500 >+++ libtar-1.2.11/lib/encode.c 2011-01-29 14:51:09.491137812 -0500 >@@ -30,7 +30,7 @@ > int i, sum = 0; > > if (t->options & TAR_GNU) >- strncpy(t->th_buf.magic, "ustar ", 8); >+ strncpy(t->th_buf.magic, "ustar", 6); > else > { > strncpy(t->th_buf.version, TVERSION, TVERSLEN);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 340253
:
250013
| 261035 |
261036