forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
P3Low-impact bugs or featuresLow-impact bugs or features
Description
sound/soc/sof/ipc4-topology.c: In function ‘sof_ipc4_prepare_copier_module’:
sound/soc/sof/ipc4-topology.c:1810:34: error: use of uninitialized value ‘((int *)<unknown>)[2]’ [CWE-457] [-Werror=analyzer-use-of-uninitialized-value]
1810 | struct snd_pcm_hw_params ref_params;
| ^~~~~~~~~~
‘sof_ipc4_prepare_copier_module’: events 1-4
|
| 1810 | struct snd_pcm_hw_params ref_params;
| | ^~~~~~~~~~
| | |
| | (1) region created on stack here
| | (2) following ‘true’ branch...
| | (3) ...to here
| | (4) use of uninitialized value ‘((int *)<unknown>)[2]’ here
|
This is bogus, ref_params is always initialized before use.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Low-impact bugs or featuresLow-impact bugs or features