diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-07-19 11:57:20 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-07-19 11:57:20 +0200 |
commit | 321ff8c4049ec6c2fa198858b4a7f1814ce05e39 (patch) | |
tree | c8d4a9ef7bdc005139ab39ec2b072b201a03ad7d /proto/ospf/topology.c | |
parent | 6887f409f0766c60dd8c3d3fdf01a1d989c090a5 (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 'proto/ospf/topology.c')
0 files changed, 0 insertions, 0 deletions