summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-07-27 10:02:46 +0200
committerRob Herring <robh@kernel.org>2023-07-27 19:04:07 +0200
commitd6ce4f0ea19c32f10867ed93d8386924326ab474 (patch)
tree9494b3b51503c9182348c21f28c8f2b7a3509547 /virt
parentdt-bindings: usb: samsung-hsotg: remove bindings already part of dwc2 (diff)
downloadlinux-d6ce4f0ea19c32f10867ed93d8386924326ab474.tar.xz
linux-d6ce4f0ea19c32f10867ed93d8386924326ab474.zip
of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
when kmalloc() fail to allocate memory in kasprintf(), name or full_name will be NULL, strcmp() will cause null pointer dereference. Fixes: 0d638a07d3a1 ("of: Convert to using %pOF instead of full_name") Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Link: https://lore.kernel.org/r/20230727080246.519539-1-ruanjinjie@huawei.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions