[alsa-devel] [PATCH] ALSA: hwdep: prevent a harmless shift wrapping bug
Takashi Iwai
tiwai at suse.de
Mon Sep 18 15:39:28 CEST 2017
On Thu, 14 Sep 2017 01:01:16 +0200,
Dan Carpenter wrote:
>
> The "info.index" variable represents a bit in hw->dsp_loaded which is
> an unsigned int. If it's higher than 31 we hit a shift wrapping bug.
> This seems harmless, but I wanted to silence the static checker warning.
>
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Thanks, applied.
Takashi
More information about the Alsa-devel
mailing list