diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-07 13:52:17 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-07 13:52:17 +0100 |
commit | df37d941c4b5aee9259ab4e34de8bfda384f7681 (patch) | |
tree | 485d9bd2c2d6fe3d262be1f8f66bfe7b86e7fd71 /sound/core | |
parent | ALSA: timer: Fix incorrectly assigned timer instance (diff) | |
parent | ASoC: SOF: topology: Fix bytes control size checks (diff) | |
download | linux-df37d941c4b5aee9259ab4e34de8bfda384f7681.tar.xz linux-df37d941c4b5aee9259ab4e34de8bfda384f7681.zip |
Merge tag 'asoc-fix-v5.4-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.4
These are a collection of fixes since v5.4-rc4 that have accumilated,
they're all driver specific and there's nothing major in here so it's
probably not essential to actually send them but I'll leave that call to
you.
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/compress_offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c index 41905afada63..f34ce564d92c 100644 --- a/sound/core/compress_offload.c +++ b/sound/core/compress_offload.c @@ -528,7 +528,7 @@ static int snd_compress_check_input(struct snd_compr_params *params) { /* first let's check the buffer parameter's */ if (params->buffer.fragment_size == 0 || - params->buffer.fragments > INT_MAX / params->buffer.fragment_size || + params->buffer.fragments > U32_MAX / params->buffer.fragment_size || params->buffer.fragments == 0) return -EINVAL; |