]> git.ipfire.org Git - thirdparty/bird.git/commit
RPKI: Fix PDU length check
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 26 Nov 2024 16:46:27 +0000 (17:46 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 26 Nov 2024 16:52:51 +0000 (17:52 +0100)
commitfb919ac2a266aed53638ebc4f006c7ef48bb9e31
tree65f8e7d9e09aa1fb72f69f7201824e2c0e0c8e41
parente330fb1614d83e3529f4405d0875160d425f8bb3
RPKI: Fix PDU length check

The END_OF_DATA PDU was extended in version 1, so it has different length
in different versions. We should do the PDU length check according to its
version.
proto/rpki/packets.c