FS#37675 - [tar] tar -T improperly handle escaped characters

Attached to Project: Arch Linux
Opened by Sergey Shepelev (temoto) - Thursday, 07 November 2013, 11:46 GMT
Last edited by Allan McRae (Allan) - Monday, 18 November 2013, 00:52 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Please, release bugfix for upstream bug #5371
http://thread.gmane.org/gmane.comp.gnu.tar.bugs/5371

This affects early docker adopters: https://github.com/dotcloud/docker/issues/2403

Patch from that thread:

diff --git a/src/names.c b/src/names.c
index eecb9b0..fc9841e 100644
--- a/src/names.c
+++ b/src/names.c
@@ -492,6 +492,8 @@ read_next_name (struct name_elt *ent, struct name_elt *ret)
ent->v.file.term = 0;
/* fall through */
case file_list_success:
+ if (unquote_option)
+ unquote_string (name_buffer);
if (handle_option (name_buffer) == 0)
{
name_list_adjust ();
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 18 November 2013, 00:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  tar 1.27.1-1 in [testing]
Comment by Allan McRae (Allan) - Thursday, 07 November 2013, 11:55 GMT
I'll wait for the release that should appear soon given [1] was posted five days ago.

[1] http://thread.gmane.org/gmane.comp.gnu.tar.bugs/5371/focus=5382
Comment by Allan McRae (Allan) - Saturday, 09 November 2013, 02:24 GMT
I notice the fix has not been pushed to their git repo yet. So definitely waiting on upstream here.
Comment by Sergey Shepelev (temoto) - Saturday, 09 November 2013, 07:45 GMT
Could you release downgrade to 1.26 then?
Comment by Allan McRae (Allan) - Saturday, 09 November 2013, 13:55 GMT
No.
Comment by <disabled account> (nicolas) - Sunday, 17 November 2013, 19:59 GMT
The patch has been applied upstream and a minor release has been done.

Loading...