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