[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <173057747484.2382073.5760107237712372637.b4-ty@kernel.org>
Date: Sat, 2 Nov 2024 12:57:58 -0700
From: Kees Cook <kees@...nel.org>
To: Tycho Andersen <tandersen@...flix.com>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: Kees Cook <kees@...nel.org>,
Eric Biederman <ebiederm@...ssion.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
Christian Brauner <brauner@...nel.org>,
Jan Kara <jack@...e.cz>,
linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] exec: Fix a NULL vs IS_ERR() test in bprm_add_fixup_comm()
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
Powered by blists - more mailing lists