[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231130115736.GB5169@atomide.com>
Date: Thu, 30 Nov 2023 13:57:36 +0200
From: Tony Lindgren <tony@...mide.com>
To: Kunwu Chan <chentao@...inos.cn>
Cc: linux@...linux.org.uk, ruslan.bilovol@...com,
linux-omap@...r.kernel.org, kunwu.chan@...mail.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: OMAP2+: Fix null pointer dereference and memory
leak in omap_soc_device_init
* Kunwu Chan <chentao@...inos.cn> [231123 16:53]:
> kasprintf() returns a pointer to dynamically allocated memory which can
> be NULL upon failure. When 'soc_dev_attr->family' is NULL,it'll trigger
> the null pointer dereference issue, such as in 'soc_info_show'.
Applying into fixes thanks.
Tony
Powered by blists - more mailing lists