[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <TYCP286MB1188596CE44B1236D4EDD4B88A839@TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM>
Date: Mon, 25 Oct 2021 15:31:56 +0000
From: YE Chengfeng <cyeaa@...nect.ust.hk>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"john.garry@...wei.com" <john.garry@...wei.com>
Subject: 回复: driver/bug: suspected missing null check in hisi_lpc.c
It is driver/bus, sorry for the typo.
-----邮件原件-----
发件人: YE Chengfeng
发送时间: 2021年10月25日 23:22
收件人: linux-kernel@...r.kernel.org; john.garry@...wei.com
主题: driver/bug: suspected missing null check in hisi_lpc.c
Hi,
https://github.com/torvalds/linux/blob/master/drivers/bus/hisi_lpc.c#L483
Our experimental static analysis tool detects a null-ptr-reference problem. It could be false positive, we report this to you just in case.
Null check is missing for the return pointer of ACPI_COMPANION at line 483 and line 504. It seems that there could be potential null-ptr-dereference problem at line 488 and line 509. Could you spare some time to have a look at it?
Thanks so much,
Chengfeng
Powered by blists - more mailing lists