diff options
author | Michael Gernoth <michael@gernoth.net> | 2014-06-27 14:08:29 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-06-27 14:08:29 +0200 |
commit | 1b487ea8a69ac90b530e9ccd161a5b1b21e604c7 (patch) | |
tree | 78d79dac1e614af04d26d37a72237d0371cee458 /include/grp_.h | |
parent | 9d7cbdeee3545d36db201a2d822cd2bd10074add (diff) | |
download | busybox-1b487ea8a69ac90b530e9ccd161a5b1b21e604c7.tar.gz |
stat: fix printing selinux context and null-dereference
busybox stat tries to always print the selinux context, even if it
is not requested which leads to a segmentation fault due to
dereferencing a null-pointer.
This also changes the format-string used to print the context to
so it actually produces useful output.
Signed-off-by: Michael Gernoth <michael@gernoth.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/grp_.h')
0 files changed, 0 insertions, 0 deletions