]> git.saurik.com Git - apt.git/commit
don't truncate 100 char long paths in tar extraction
authorOskari Saarenmaa <os_debian@ohmu.fi>
Thu, 12 Sep 2013 11:20:01 +0000 (13:20 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 12 Sep 2013 11:52:43 +0000 (13:52 +0200)
commita07b81e86e8c6c48cc32eaf2df915236ebb53301
tree2241bb3d19aaa9f169fbb45002fa9a6de85048b3
parent58c2833fed05dd044a4a937271fb6a8d639fa863
don't truncate 100 char long paths in tar extraction

When a data.tar.{gz,xz} contains a path name that is exactly
100 characters long, it will get truncated to 99 chars upon
extraction in ExtractTar::Go().

Using all of the 100 available characters for the filename
seems to be new behaviour in gnu tar.

Closes: #689582
Thanks: Mika Eloranta for the testcase!
apt-inst/contrib/extracttar.cc