commit | af3f6ffdee45e59ce344615dbe2704b9caf1fbed | [log] [tgz] |
---|---|---|
author | Michael Gernoth <michael@gernoth.net> | Fri Jun 20 13:53:24 2014 +0200 |
committer | Tanguy Pruvot <tanguy.pruvot@gmail.com> | Sat Jun 21 10:25:53 2014 +0000 |
tree | 220f23e35c70395423757a45998815ba1fb77992 | |
parent | c1a6bc32a8367cb7e98cb65ff4173b9692384fe2 [diff] |
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. Change-Id: Idfe15c931840457f357f860e560fca5b0480ad6f