]> git.tuebingen.mpg.de Git - paraslash.git/commit
play: Fix integer overflow in com_ff().
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 19 Apr 2024 18:35:02 +0000 (20:35 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 19 Apr 2024 18:40:07 +0000 (20:40 +0200)
commit54788b1f696b475cda8e68ad54589d1fbb759459
treed60587dc36698c666fcc30310089e74179d5948b
parent068b2514407313f3a9291acdd265d94b26359d55
play: Fix integer overflow in com_ff().

The product of the number of chunks and the number of seconds to skip
may overflow the 32 bit multiplication. Add a cast to force 64 bit
arithmetics to avoid the overflow.
play.c