Skip to content

ASoC: Add bounds checking for written values

Mark Brown alsa-devel stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()sound/soc/soc-ops.c+16 -20 replies
2/3ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()sound/soc/soc-ops.c+8 -10 replies
3/3ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()sound/soc/soc-ops.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] ASoC: Add bounds checking for written values

This series adds verification that values written to registers are in bounds for controls since the core doesn't validate for us.

Mark Brown (3):
ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()

 sound/soc/soc-ops.c | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)

base-commit: e783362eb54cd99b2cac8b3a9aeac942e6f6ac07

Signature · 1 line
2.30.2