Re: Undefined behaviour in ac97_codec.c - shift exponent 68 is too large for 32-bit type 'int'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[   19.668078] UBSAN: Undefined behaviour in sound/pci/ac97/ac97_codec.c:836:7
[   19.668268] shift exponent 68 is too large for 32-bit type 'int'

Wow, this is an old bug.

The patch below should fix the problem.

Yes, it does - thank you!

I also found another machine (with SiS ac97 audio) that gave the same warning and the
warning is gone there too.

Can not test actual audio since both machines are remote for now, but aplay thinks it
plays WAV files fine.

Tested-by: Meelis Roos <mroos@xxxxxxxx>

--
Meelis Roos <mroos@xxxxxxxx>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux