aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-07-05 14:30:13 +0200
committerMark Brown <[email protected]>2023-07-06 13:46:25 +0100
commited0dd9205bf69593edb495cb4b086dbae96a3f05 (patch)
tree7a2387100e90290ffa0165b05140aa8c8e525a56 /lib/test_fortify/write_overflow-strncpy-src.c
parent46ec420573cefa1fc98025e7e6841bdafd6f1e20 (diff)
ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
Allocation of the clash control structure may fail so add the missing error handling to avoid dereferencing an error pointer. Fixes: 8d78602aa87a ("ASoC: codecs: wcd938x: add basic driver") Cc: [email protected] # 5.14 Cc: Srinivas Kandagatla <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions