]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Fix minor issues with send hold timer master oz-test
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 9 Jul 2026 16:29:22 +0000 (18:29 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 9 Jul 2026 16:29:22 +0000 (18:29 +0200)
commit0e55258d629c149c479e67c77c572039b02daff9
treee5702b5ca9c2603698effc93f59ae2811908f442
parent59f7b7fb6cf2aa0cbe3640db340c2dd37d36bdca
BGP: Fix minor issues with send hold timer

Fix division by zero during send hold time calculation when hold timer
set to zero.

Fix possible overflow in the send hold time calculation.

Add minimum value for send hold time option as per RFC 9687 section 4.4.

Reported-By: lzx0xf1@gmail.com
Target: patch
proto/bgp/bgp.c
proto/bgp/packets.c