diff options
author | David Sterba <dsterba@suse.cz> | 2014-11-18 18:05:20 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-11-18 18:05:20 +0100 |
commit | 5ebf59ff5852dd4f37d99ab4e49fef1c579d6665 (patch) | |
tree | 00b25fda52adddd8319ae8a859f56189f816f1e5 /cmds-restore.c | |
parent | a1c3bcf1c294909801dbc23e77cac895dd14c41e (diff) | |
download | btrfs-progs-5ebf59ff5852dd4f37d99ab4e49fef1c579d6665.tar.gz |
btrfs-progs: use proper size for argv0 substitution
Make run from a long base path will overflow the argv0 buffer during
tests. Otherwise, this would happen for all the standalone binaries that
use set_argv0.
Original report:
https://bbs.archlinux.org/viewtopic.php?id=189861
Reported-by: WorMzy Tykashi <wormzy.tykashi@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-restore.c')
0 files changed, 0 insertions, 0 deletions