diff options
author | Georg Chini <georg@chini.tk> | 2017-04-29 10:38:05 +0200 |
---|---|---|
committer | Georg Chini <georg@chini.tk> | 2017-04-29 10:38:05 +0200 |
commit | 68203100ff1d5ac35ade6db4fc56e355274d6a0e (patch) | |
tree | 6540c889b9581c73ecd48e1eb8f86b489c4fafc9 /src/modules/dbus/iface-sample.c | |
parent | be1276d816171d9ce6c981581c22a297a61d62bc (diff) | |
download | pulseaudio-68203100ff1d5ac35ade6db4fc56e355274d6a0e.tar.gz |
volume: Fix overflow in percent calculation of pa_*volume_snprint*()
The percent calculation could overflow in the pa_*volume_snprint*() functions.
For large volumes, volume * 100 can exceed UINT32_MAX.
This patch adds appropriate type casts.
Diffstat (limited to 'src/modules/dbus/iface-sample.c')
0 files changed, 0 insertions, 0 deletions