summaryrefslogtreecommitdiff
path: root/src/modules/dbus/iface-sample.c
diff options
context:
space:
mode:
authorGeorg Chini <georg@chini.tk>2017-04-29 10:38:05 +0200
committerGeorg Chini <georg@chini.tk>2017-04-29 10:38:05 +0200
commit68203100ff1d5ac35ade6db4fc56e355274d6a0e (patch)
tree6540c889b9581c73ecd48e1eb8f86b489c4fafc9 /src/modules/dbus/iface-sample.c
parentbe1276d816171d9ce6c981581c22a297a61d62bc (diff)
downloadpulseaudio-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