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

2017-02-03 Thread willy
Willy Gfn wrote: > Michael Forney wrote: > > On 12/24/16, Cág wrote: > > > 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 fi

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

2017-02-03 Thread willy
Michael Forney wrote: > On 12/24/16, Cág wrote: > > 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 startin

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

2016-12-24 Thread Michael Forney
On 12/24/16, Cág wrote: > 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

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

2016-12-24 Thread Cág
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 tryin

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

2016-12-24 Thread Markus Wichmann
On Fri, Dec 23, 2016 at 08:07:11PM +, Cág wrote: > Hi, > > I was trying to create an archive with my gtk themes with > "tar -c themes | xz > themes.tar.xz" > and it says "tar:strlcpy: input string too long". > > The same happens without piping. BusyBox' tar did this > fine. > > Also, when tr

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

2016-12-24 Thread Cág
Laslo Hunhold wrote: can you design a minimal working example? Many tar implementations out there are unsafe or "bend" the standard in some way. Maybe we can resolve this easily as soon as you provide us with more information. Imagine a typical themes directory: huge amount of files. In my cas

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

2016-12-23 Thread Greg Reagle
On Fri, Dec 23, 2016, at 15:07, Cág wrote: > I was trying to create an archive with my gtk themes with > "tar -c themes | xz > themes.tar.xz" > and it says "tar:strlcpy: input string too long". I tried this command on a few directories and did not get a malfunction.

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

2016-12-23 Thread Laslo Hunhold
On Fri, 23 Dec 2016 20:07:11 + Cág wrote: Hey, > I was trying to create an archive with my gtk themes with > "tar -c themes | xz > themes.tar.xz" > and it says "tar:strlcpy: input string too long". > > The same happens without piping. BusyBox' tar did this > fine. > > Also, when trying to

[dev] [sbase] [tar] some errors

2016-12-23 Thread Cág
Hi, I was trying to create an archive with my gtk themes with "tar -c themes | xz > themes.tar.xz" and it says "tar:strlcpy: input string too long". The same happens without piping. BusyBox' tar did this fine. Also, when trying to extract the created archive (tar -xvf), it says "malformed tar a