Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 245931 Details for
Bug 280961
CVE-2007-4476 tar/cpio stack crashing in safer_name_suffix
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
new patch for cpio-2.6 (this one frees malloc'd memory)
cpio-2.6-safer_name_suffix.patch (text/plain), 603 bytes, created by
Radek Brich
on 2007-11-01 18:43:20 UTC
(
hide
)
Description:
new patch for cpio-2.6 (this one frees malloc'd memory)
Filename:
MIME Type:
Creator:
Radek Brich
Created:
2007-11-01 18:43:20 UTC
Size:
603 bytes
patch
obsolete
>diff -up cpio-2.6/src/copyin.c.safer_name_suffix cpio-2.6/src/copyin.c >--- cpio-2.6/src/copyin.c.safer_name_suffix 2007-10-24 17:27:52.000000000 +0200 >+++ cpio-2.6/src/copyin.c 2007-11-01 15:59:39.000000000 +0100 >@@ -1382,12 +1382,13 @@ safer_name_suffix (char const *file_name > > if (prefix_len) > { >- char *prefix = alloca (prefix_len + 1); >+ char *prefix = xmalloc (prefix_len + 1); > memcpy (prefix, file_name, prefix_len); > prefix[prefix_len] = '\0'; > > > error (0, 0, _("Removing leading `%s' from member names"), prefix); >+ free(prefix); > } > > if (!*p)
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 280961
:
236281
| 245931