summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-04-26 11:49:13 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-04-27 18:15:09 +0300
commit9b2152f96f4a243bdfb89027c0d920aa0af810e7 (patch)
treee2c7e72474297127e878b831b5a1f83e8fa25992 /scripts/gdb/linux/utils.py
parentddf66aefd685fd46500b9917333e1b1e118276dc (diff)
downloadlinux-9b2152f96f4a243bdfb89027c0d920aa0af810e7.tar.xz
mtd: rawnand: tmio: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220426084913.4021868-3-yangyingliang@huawei.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions