]> git.ipfire.org Git - thirdparty/bird.git/commit
RPKI: Fix several errors in handling of Error PDU
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 3 Dec 2024 00:19:44 +0000 (01:19 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 3 Dec 2024 00:19:44 +0000 (01:19 +0100)
commitef4561185055cb66dd2d141623bdbcbb306a5403
tree67effa2112fcaf218a0b33e8122395ee2c341c46
parent89d548accb79b706d6bc0a6eb89ab390fa17333b
RPKI: Fix several errors in handling of Error PDU

Fix several errors including:
 - Unaligned memory access to 'Length of Error Text' field
 - No validation of 'Length of Encapsulated PDU' field
 - No validation of 'Error Code' field
 - No validation of characters in diagnostic message
lib/unaligned.h
proto/rpki/packets.c