diff options
author | Kunwu Chan <[email protected]> | 2023-12-04 17:24:43 +0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-12-07 16:05:11 +0000 |
commit | 41673c66b3d0c09915698fec5c13b24336f18dd1 (patch) | |
tree | a177c10e3af7fb3b4fdc13529183c0ea1f31364c /lib/test_fortify/write_overflow-memcpy.c | |
parent | 0c679fffd67605a2c10a61a9a09890970eae11a9 (diff) |
mfd: syscon: Fix null pointer dereference in of_syscon_register()
kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.
Fixes: e15d7f2b81d2 ("mfd: syscon: Use a unique name with regmap_config")
Signed-off-by: Kunwu Chan <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions