diff options
author | 2021-01-20 12:59:13 +0300 | |
---|---|---|
committer | 2021-01-20 16:46:48 +0000 | |
commit | 543466ef3571069b8eb13a8ff7c7cfc8d8a75c43 (patch) | |
tree | cce3b4c167743b9db858cbbcdce2a6c70b4bd9fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field (diff) | |
download | wireguard-linux-543466ef3571069b8eb13a8ff7c7cfc8d8a75c43.tar.xz wireguard-linux-543466ef3571069b8eb13a8ff7c7cfc8d8a75c43.zip |
ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
The allocation uses sizeof(u32) when it should use sizeof(unsigned long)
so it leads to memory corruption later in the function when the data is
initialized.
Fixes: 5aebe7c7f9c2 ("ASoC: topology: fix endianness issues")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YAf+8QZoOv+ct526@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions