On Sat, May 14, 2022 at 5:15 PM Shreenidhi Shedi <[email protected]> wrote:
>
> Signed-off-by: Shreenidhi Shedi <[email protected]>
> ---
> kernel/audit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
As a FYI for the non-audit folks on the To/CC line, patches 4/5 and
5/5 were resent to just the audit relevant folks so I'll follow-up
there.
> diff --git a/kernel/audit.c b/kernel/audit.c
> index 7690c29d4ee4..0749211d5552 100644
> --- a/kernel/audit.c
> +++ b/kernel/audit.c
> @@ -1390,7 +1390,7 @@ static int audit_receive_msg(struct sk_buff *skb,
> struct nlmsghdr *nlh)
> str);
> } else {
> audit_log_format(ab, " data=");
> - if (data_len > 0 && str[data_len - 1] == '\0')
> + if (str[data_len - 1] == '\0')
> data_len--;
> audit_log_n_untrustedstring(ab, str,
> data_len);
> }
> --
> 2.36.1
--
paul-moore.com
--
Linux-audit mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-audit