Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
of: overlay: fix null pointer dereferencing in find_dup_cset_node_ent…
…ry() and find_dup_cset_prop() [ Upstream commit ee9d7a0 ] When kmalloc() fail to allocate memory in kasprintf(), fn_1 or fn_2 will be NULL, and strcmp() will cause null pointer dereference. Fixes: 2fe0e87 ("of: overlay: check prevents multiple fragments touching same property") Signed-off-by: ruanjinjie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information