All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/char: suspected null-pointer dereference problem in handle_control_message
@ 2021-10-26  6:19 YE Chengfeng
  0 siblings, 0 replies; 5+ messages in thread
From: YE Chengfeng @ 2021-10-26  6:19 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-30 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <TYCP286MB11884B1010AF8C77F1BBDAF08A849@TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM>
2021-10-26 10:29 ` drivers/char: suspected null-pointer dereference problem in handle_control_message Amit Shah
2021-10-26 11:51   ` 回复: " YE Chengfeng
2021-10-28 11:54     ` Amit Shah
2021-10-30 13:20       ` 回复: " YE Chengfeng
2021-10-26  6:19 YE Chengfeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.