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 154113 Details for
Bug 239001
pax fails creation of ustar if an absolute name is exactly 100 characters long
[?]
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]
patch to fix absolute 100 char file issue
pax-3.0-absolute100.patch (text/plain), 670 bytes, created by
Martin Poole
on 2007-05-04 12:30:45 UTC
(
hide
)
Description:
patch to fix absolute 100 char file issue
Filename:
MIME Type:
Creator:
Martin Poole
Created:
2007-05-04 12:30:45 UTC
Size:
670 bytes
patch
obsolete
>--- pax-3.0/src/tar.c.orig 2001-12-18 21:01:22.000000000 +0000 >+++ pax-3.0/src/tar.c 2007-05-04 11:13:19.000000000 +0100 >@@ -1135,6 +1135,14 @@ name_split (name, len) > * prefix we can find) > */ > start = name + len - TNMSZ; >+ /* if filename is absolute and exactly TNMSZ in length, >+ * before we invoke the strict interpretation of /str below, we >+ * check to see if there is another slash further along which >+ * would allow a safe split. if this search fails then we hit >+ * the end of the string and fail in a similar manner >+ */ >+ if((start == name) && (*start == '/')) >+ ++start; > while ((*start != '\0') && (*start != '/')) > ++start; >
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 239001
:
154112
| 154113