Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41017 Details for
Bug 66251
buffer overflow in app-arch/ncompress
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
secpatch-compress.diff (text/plain), 362 bytes, created by
Florian Schilhabel (RETIRED)
on 2004-10-03 14:12:34 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Schilhabel (RETIRED)
Created:
2004-10-03 14:12:34 UTC
Size:
362 bytes
patch
obsolete
>--- ./ncompress-4.2.4/compress42.c 1992-10-28 12:10:53.000000000 +0100 >+++ ./ncompress-4.2.4_new/compress42.c 2004-10-03 22:46:22.313724696 +0200 >@@ -883,7 +883,8 @@ > int fdout; > char tempname[MAXPATHLEN]; > >- strcpy(tempname,*fileptr); >+ strncpy(tempname,*fileptr, sizeof(tempname)); >+ tempname[sizeof(tempname)-1] = '\0'; > errno = 0; > > #ifdef LSTAT
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 66251
: 41017