Messages in this thread | | | Subject | Re: [PATCH v4] integrity: check the return value of audit_log_start() | From | Mimi Zohar <> | Date | Wed, 26 Jan 2022 21:19:08 -0500 |
| |
Hi Xiaoke,
On Thu, 2022-01-27 at 09:59 +0800, Xiaoke Wang wrote: > From: Xiaoke Wang <xkernel.wang@foxmail.com> > > audit_log_start() returns audit_buffer pointer on success or NULL on > error, so it is better to check the return value of it. > > Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com> > Reviewed-by: Paul Moore <paul@paul-moore.com>
Thanks, this patch is staged in the next-integrity-testing branch https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git/
Mimi
| |