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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240830091004.GW1532424@black.fi.intel.com>
Date: Fri, 30 Aug 2024 12:10:04 +0300
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Charles Han <hanchunchao@...pur.com>
Cc: broonie@...nel.org, linux-spi@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] spi: intel: Add check devm_kasprintf() returned value

On Fri, Aug 30, 2024 at 03:41:06PM +0800, Charles Han wrote:
> intel_spi_populate_chip() use devm_kasprintf() to set pdata->name.
> This can return a NULL pointer on failure but this returned value
> is not checked.
> 
> Fixes: e58db3bcd93b ("spi: intel: Add default partition and name to the second chip")
> Signed-off-by: Charles Han <hanchunchao@...pur.com>

Reviewed-by: Mika Westerberg <mika.westerberg@...ux.intel.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ