]> git.proxmox.com Git - mirror_frr.git/commit
babeld: fix #10502 #10503 by repairing the checks on length
authorqingkaishi <qingkaishi@gmail.com>
Fri, 4 Feb 2022 21:41:11 +0000 (16:41 -0500)
committermergify-bot <noreply@mergify.com>
Tue, 8 Feb 2022 15:11:45 +0000 (15:11 +0000)
commit8d451431b0f7977aad7759dff2640d0a8d7ee7e8
treed324a048f188abf1eba81027ad17d040d1ad44a8
parentba7be1e11935f66de502f941a014dd0bebe3ac2a
babeld: fix #10502 #10503 by repairing the checks on length

This patch repairs the checking conditions on length in four functions:
babel_packet_examin, parse_hello_subtlv, parse_ihu_subtlv, and parse_update_subtlv

Signed-off-by: qingkaishi <qingkaishi@gmail.com>
(cherry picked from commit c3793352a8d76d2eee1edc38a9a16c1c8a6573f4)
babeld/message.c