[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ls: fix crash printing SELinux context for unstatable files
From: |
Jim Meyering |
Subject: |
Re: [PATCH] ls: fix crash printing SELinux context for unstatable files |
Date: |
Wed, 11 Nov 2020 09:48:39 -0800 |
On Wed, Nov 11, 2020 at 9:34 AM Pádraig Brady <P@draigbrady.com> wrote:
> This crash was identified by Cyber Independent Testing Lab:
> https://cyber-itl.org/2020/10/28/citl-7000-defects.html
> and was introduced with commit v6.9.90-11-g4245876e2
>
> * src/ls.c (gobble_file): Ensure scontext is initialized
> in the case where files are not statable.
> * tests/ls/selinux-segfault.sh: Renamed from proc-selinux-segfault.sh,
> and added test case for broken symlinks.
> * tests/local.mk: Adjust for the renamed test.
> * NEWS: Mention the bug fix.
Good one. Looks fine. Thanks!