diff options
author | Pierre-Louis Bossart <[email protected]> | 2020-09-21 14:08:12 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-09-21 23:14:47 +0100 |
commit | 2ca210112ad91880d2d5a3f85fecc838600afbce (patch) | |
tree | 852ccdb0927afa5c5f978cbd3c95fd8cc04d9df0 /drivers/usb/cdns3/cdns3-trace.h | |
parent | ec5a97624a8de4f44b090cf53bd48c05458e0b17 (diff) |
ASoC: SOF: control: add size checks for ext_bytes control .put()
Make sure the TLV header and size are consistent before copying from
userspace.
Fixes: c3078f5397046 ('ASoC: SOF: Add Sound Open Firmware KControl support')
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Kai Vehmanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions