]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
debugfs.c: the max length of debugfs argument is too short
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 14 Oct 2013 02:07:57 +0000 (22:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 Oct 2013 02:07:57 +0000 (22:07 -0400)
commit355ffb2ff566229b8bc3f5f7557e91edff5a767a
treecab8ba42e68f5341db056d7952c628bcdeafe956
parent128c943ef2a0a82b8a4a8a9ca66f459e107bc877
debugfs.c: the max length of debugfs argument is too short

The max length of debugfs argument is 256 which is too short, the
arguments are two paths, the PATH_MAX is 4096 according to
/usr/include/linux/limits.h, so use BUFSIZ (which is 8192 on Linux
systems), that's also what the ss library uses.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/debugfs.c