Re: btrfs-progs: ARGV0_BUF_SIZE causes problems with tests

2014-11-18 Thread David Sterba
On Sat, Nov 15, 2014 at 01:27:13AM +, WorMzy Tykashi wrote: I found a bit of a weird corner-case today. [1] It seems that, due to the use of a 64-byte constant (ARGV0_BUF_SIZE) in utils.c, some tests fail with a buffer overflow detected error if the progs are built in a location with a

btrfs-progs: ARGV0_BUF_SIZE causes problems with tests

2014-11-14 Thread WorMzy Tykashi
Hi guys, I found a bit of a weird corner-case today. [1] It seems that, due to the use of a 64-byte constant (ARGV0_BUF_SIZE) in utils.c, some tests fail with a buffer overflow detected error if the progs are built in a location with a sufficiently long path. For example: clone the btrfs-progs