aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-03-10 16:02:57 +0800
committerAbel Vesa <[email protected]>2022-04-12 14:00:20 +0300
commited713e2bc093239ccd380c2ce8ae9e4162f5c037 (patch)
tree1372ac82630ff712e13082db86bc975d72976c54 /lib/test_fortify/write_overflow-memcpy.c
parentce0fc2f00fa26310cd29e462f816a5e660754d68 (diff)
clk: imx: Add check for kcalloc
As the potential failure of the kcalloc(), it should be better to check it in order to avoid the dereference of the NULL pointer. Fixes: 379c9a24cc23 ("clk: imx: Fix reparenting of UARTs not associated with stdout") Signed-off-by: Jiasheng Jiang <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions