lkml.org 
[lkml]   [2021]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectdrivers/clk/mediatek: suspected missing null check for return pointer of mtk_alloc_clk_data
Date
Hi,

https://github.com/torvalds/linux/blob/master/drivers/clk/mediatek/clk-mt7622.c#L622

The return pointer of mtk_alloc_clk_data could be null, but null check is missing. It seems like there could be a potential null-pointer dereference problem at #line 639 and so on. Would you like to spare some time to have a look at it?

Thanks so much,
Chengfeng

\
 
 \ /
  Last update: 2021-10-26 09:15    [W:0.022 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site