Re: [dev] [sbase] [tar] some errors

From: Cág <caoc_AT_riseup.net>
Date: Sat, 24 Dec 2016 16:50:49 +0000

Markus Wichmann wrote:

> Well, that looks like it might be problematic, doesn't it? Especially
> when you find out, that the size of h->name there is 100 bytes. path
> contains, of course, the entire file path relative to the starting
> directory. In short, you will get this error message whenever trying to
> package files with a total relative path length of more than 100
> characters.

Indeed, I've just tried to compress an extracted Linux kernel
(that doesn't have .git folder), it went without errors. Thanks for
pointing out.

But when I tried to extract it, it still said "malformed tar archive".
Here's the part with it: http://git.suckless.org/sbase/tree/tar.c#n404


Cág
Received on Sat Dec 24 2016 - 17:50:49 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 24 2016 - 18:00:21 CET