summaryrefslogtreecommitdiff
path: root/nest/cmds.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-07-19 11:57:20 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-07-19 11:57:20 +0200
commit321ff8c4049ec6c2fa198858b4a7f1814ce05e39 (patch)
treec8d4a9ef7bdc005139ab39ec2b072b201a03ad7d /nest/cmds.h
parent6887f409f0766c60dd8c3d3fdf01a1d989c090a5 (diff)
Babel: Make sure intervals do not overflow
Intervals are carried as 16-bit centisecond values, but kept internally in 16-bit second values, which causes a potential for overflow. This adds some checks to make sure this does not happen. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Diffstat (limited to 'nest/cmds.h')
0 files changed, 0 insertions, 0 deletions