diff options
author | Stefan Binding <[email protected]> | 2023-12-19 16:22:31 +0000 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-12-21 09:23:51 +0100 |
commit | ed7326a24a1a9af65fafefd86b505e7c3b968f6d (patch) | |
tree | 8c71d560209b990ba41f4dd3438a8fa661054e2a /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 092a1362470937e46947ccdc6fe4c8a9b72f3f49 (diff) |
ALSA: hda: cs35l41: Do not allow uninitialised variables to be freed
Initialise the variables to NULL so that they cannot be uninitialised
when devm_kfree is called.
Found by static analysis.
Fixes: 8c4c216db8fb ("ALSA: hda: cs35l41: Add config table to support many laptops without _DSD")
Signed-off-by: Stefan Binding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions