[alsa-devel] axfer: test: fix invalid comparison of 64 bit storage in ILP32 data type

GitHub pull_request - opened github at alsa-project.org
Sun Jul 28 09:32:47 CEST 2019


alsa-project/alsa-utils pull request #25 was opened from takaswie:

In system V ABIs with ILP32 data model, bit shift for '1ul' can brings
undefined behaviour when the calculation result is over 32 bit width.

This commit fixes the bug.

Reported-by: Rolf Eike Beer <eike at sf-mail.de>
Reference: https://bugs.gentoo.org/681652
Reference: https://github.com/alsa-project/alsa-utils/issues/23
Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Request URL   : https://github.com/alsa-project/alsa-utils/pull/25
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/25.patch
Repository URL: https://github.com/alsa-project/alsa-utils


More information about the Alsa-devel mailing list