lkml.org 
[lkml]   [2023]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] pstore/platform: Add check for kstrdup
Date
On Fri, 23 Jun 2023 10:27:06 +0800, Jiasheng Jiang wrote:
> Add check for the return value of kstrdup() and return the error
> if it fails in order to avoid NULL pointer dereference.
>
>

Applied to for-next/pstore, thanks!

[1/1] pstore/platform: Add check for kstrdup
https://git.kernel.org/kees/c/a19d48f7c5d5

Take care,

--
Kees Cook

\
 
 \ /
  Last update: 2023-10-12 18:49    [W:0.049 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site