Skip to contentSkip to conversation

axfer: test: fix invalid comparison of 64 bit storage in ILP32 data type

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jul 28, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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.

Reference: https://bugs.gentoo.org/681652
Reference: https://github.com/alsa-project/alsa-utils/issues/23

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