aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2023-09-01 10:46:58 +0800
committerStephen Boyd <[email protected]>2023-10-18 18:16:38 -0700
commit0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3 (patch)
tree0279d9ebff8bb2dd28ff609346f749ac6e18c4d2 /lib/test_fortify/write_overflow-memcpy.c
parent2befa515c1bb6cdd33c262b909d93d1973a219aa (diff)
clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
Add the check for the return value of mtk_alloc_clk_data() in order to avoid NULL pointer dereference. Fixes: e9862118272a ("clk: mediatek: Add MT2701 clock support") Signed-off-by: Jiasheng Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Markus Schneider-Pargmann <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions