Re: [PATCH] ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Kunwu Chan <chentao@xxxxxxxxxx> [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




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux