]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_message.c
ospf6: fix coverity overflow issues
authorPat Ruddy <pat@voltanet.io>
Fri, 25 Jun 2021 08:39:21 +0000 (09:39 +0100)
committerPat Ruddy <pat@voltanet.io>
Sat, 26 Jun 2021 10:16:19 +0000 (11:16 +0100)
commit0dd5ec1297fc60c6264213e61defa5164717701d
treeb231d38a2229cd103f20680e0ea85f0e6d2c06fa
parent32694c41bb298075c19b2cd50525bee3a336ccec
ospf6: fix coverity overflow issues

Coverity flagged the possibility of an overflow in the latency
calculation, ensure that 64 bit integers are used in the
calculation to avoid this error.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
ospf6d/ospf6_message.c