aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorruanjinjie <[email protected]>2022-12-11 02:33:37 +0000
committerRob Herring <[email protected]>2022-12-12 01:00:36 +0000
commitee9d7a0e754568180a2f8ebc4aad226278a9116f (patch)
tree5ef87d93bb09b6b1080b69f8cdd49ff2d487a73c /drivers/fpga/xilinx-spi.c
parentdt-bindings: lcdif: Fix constraints for imx8mp (diff)
downloadkernel-ee9d7a0e754568180a2f8ebc4aad226278a9116f.tar.gz
kernel-ee9d7a0e754568180a2f8ebc4aad226278a9116f.zip
of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
When kmalloc() fail to allocate memory in kasprintf(), fn_1 or fn_2 will be NULL, and strcmp() will cause null pointer dereference. Fixes: 2fe0e8769df9 ("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]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions