diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-09-28 18:42:01 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:08 +0200 |
| commit | f0fc0c35e084c99f1101b4332700493ad66b33c4 (patch) | |
| tree | db498b55186aaebeb6d7b3b3b73cb9bd2ee22c35 /scripts/gdb/linux/symbols.py | |
| parent | 9baaf4b3d95fb11826612b22b8e397691371279d (diff) | |
ASoC: wcd_cpe_core: Fix buffer overflow in wcd_cpe_init
Clang warns:
../sound/soc/codecs/wcd_cpe_core.c:1990:2: warning: 'snprintf' size
argument is too large; destination buffer has size 11, but size argument
is 13 [-Wfortify-source]
snprintf(proc_name, (sizeof("cpe") + sizeof("_state") +
^
1 warning generated.
Fixes: 03f5d7efe220 ("ASoC: wcd: Add Audio codec drivers for MSM targets")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions
