Re: [PATCH next] exec: Fix a NULL vs IS_ERR() test in bprm_add_fixup_comm()

From: Kees Cook
Date: Sat Nov 02 2024 - 15:58:25 EST


On Sat, 02 Nov 2024 12:31:14 +0300, Dan Carpenter wrote:
> The strndup_user() function doesn't return NULL, it returns error
> pointers. Fix the check to match.
>
>

Applied to for-next/execve, thanks!

[1/1] exec: Fix a NULL vs IS_ERR() test in bprm_add_fixup_comm()
https://git.kernel.org/kees/c/05e60502723d

Take care,

--
Kees Cook