diff options
author | Simon Trimmer <simont@opensource.cirrus.com> | 2025-07-31 16:01:09 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-08-01 14:36:21 +0100 |
commit | ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667 (patch) | |
tree | f83fad48ee3776729859c0fac878bc6912d78dbd /rust/helpers | |
parent | 926406a85ad895fbe6ee4577cdbc4f55245a0742 (diff) |
spi: cs42l43: Property entry should be a null-terminated array
The software node does not specify a count of property entries, so the
array must be null-terminated.
When unterminated, this can lead to a fault in the downstream cs35l56
amplifier driver, because the node parse walks off the end of the
array into unknown memory.
Fixes: 0ca645ab5b15 ("spi: cs42l43: Add speaker id support to the bridge configuration")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220371
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://patch.msgid.link/20250731160109.1547131-1-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions