diff options
| author | Alexey Khoroshilov <[email protected]> | 2022-05-19 22:31:26 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-05-20 12:43:10 +0000 |
| commit | f7a344468105ef8c54086dfdc800e6f5a8417d3e (patch) | |
| tree | 999d00070549f90d6e8f757aabd6bcf346265b55 /fs/jbd2/commit.c | |
| parent | ASoC: rt1308-sdw: add the default value of register 0xc320 (diff) | |
| download | kernel-f7a344468105ef8c54086dfdc800e6f5a8417d3e.tar.gz kernel-f7a344468105ef8c54086dfdc800e6f5a8417d3e.zip | |
ASoC: max98090: Move check for invalid values before casting in max98090_put_enab_tlv()
Validation of signed input should be done before casting to unsigned int.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Alexey Khoroshilov <[email protected]>
Suggested-by: Mark Brown <[email protected]>
Fixes: 2fbe467bcbfc ("ASoC: max98090: Reject invalid values in custom control put()")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
