lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d7cd72829cfd4ee9bd880d6d32e4dbc1.sboyd@kernel.org>
Date: Thu, 14 Nov 2024 12:32:18 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Charles Han <hanchunchao@...pur.com>, david@...hnology.com, mturquette@...libre.com, sboyd@...nel.orgv
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, Charles Han <hanchunchao@...pur.com>
Subject: Re: [PATCH] clk: davinci:  Add NULL check in davinci_lpsc_clk_register

Quoting Charles Han (2024-11-14 01:14:22)
> devm_kasprintf() can return a NULL pointer on failure,but this
> returned value in davinci_lpsc_clk_register() is not checked.
> Add NULL check in davinci_lpsc_clk_register(), to handle kernel NULL
> pointer dereference error.
> 
> Fixes: c6ed4d734bc7 ("clk: davinci: New driver for davinci PSC clocks")
> Signed-off-by: Charles Han <hanchunchao@...pur.com>
> ---

Applied to clk-next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ