Re: [PATCH 1/2] audit: remove redundant data_len check

From: Paul Moore
Date: Tue Jun 07 2022 - 22:04:32 EST


On Sun, May 15, 2022 at 7:35 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> On Sun, May 15, 2022 at 3:31 AM Shreenidhi Shedi <yesshedi@xxxxxxxxx> wrote:
> >
> > data_len is already getting checked if it's less than 2 earlier in this
> > function.
> >
> > Signed-off-by: Shreenidhi Shedi <sshedi@xxxxxxxxxx>
> > ---
> > kernel/audit.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Thanks, this patch looks okay, but since we are already at v5.18-rc7
> this patch will have to wait until after the upcoming merge window as
> it isn't a critical bug fix.

... and it's now merged into audit/next, thanks!

--
paul-moore.com