]> git.proxmox.com Git - mirror_frr.git/commit - nhrpd/nhrpd.h
nhrpd: change ipsec SA count to 32-bit
authorTimo Teräs <timo.teras@iki.fi>
Sun, 19 Jul 2020 15:07:31 +0000 (18:07 +0300)
committerReuben Dowle <reuben.dowle@4rf.com>
Wed, 16 Dec 2020 21:04:12 +0000 (10:04 +1300)
commit6cfd90f353f39e35a249168022366b5cc322ccbd
tree9eda2f2276a9bfdab8d287643e77ce6e01296c4b
parentf7f9a3770e5fed62d642a8feef9f972710aeba7b
nhrpd: change ipsec SA count to 32-bit

Under certain misconfigurations, the SA count can be unusually high
and wrap 8-bit counter. That leads to premature free, and crash.
Make the count 32-bit to avoid crash in these rare conditions.

Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
nhrpd/nhrpd.h