diff options
author | Jim Meyering <meyering@redhat.com> | 2008-01-29 08:56:48 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-01-29 09:23:51 +0100 |
commit | 533391a2a75f49da27adc71214caeeb4ef07d81c (patch) | |
tree | 9844aa22b4d1ce561e46e7b5973b7f2ed88b8309 /ChangeLog | |
parent | a6228c5437e9f07d9f72828436b75e3358443a1c (diff) | |
download | coreutils-533391a2a75f49da27adc71214caeeb4ef07d81c.tar.xz |
ls: don't segfault on files in /proc with an old libselinux
* src/ls.c (gobble_file): Work around a bug in libselinux1-2.0.15
whereby getfilecon returns 0 yet sets the context to NULL.
Reported by Jan Moringen via Michael Stone in
http://bugs.debian.org/463043
* tests/ls/Makefile.am (TESTS): Add proc-selinux-segfault.
* tests/ls/proc-selinux-segfault: Test for the above fix.
* NEWS: Mention the fix.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2008-01-29 Jim Meyering <meyering@redhat.com> + + ls: don't segfault on files in /proc with an old libselinux + * src/ls.c (gobble_file): Work around a bug in libselinux1-2.0.15 + whereby getfilecon returns 0 yet sets the context to NULL. + Reported by Jan Moringen via Michael Stone in + http://bugs.debian.org/463043 + * tests/ls/Makefile.am (TESTS): Add proc-selinux-segfault. + * tests/ls/proc-selinux-segfault: Test for the above fix. + * NEWS: Mention the fix. + 2008-01-26 Jim Meyering <meyering@redhat.com> Work around Darwin9's set-GID-like group ownership inheritance. |