Limit the size of the base64 blob inside the RRDP XML to be less than
authorclaudio <claudio@openbsd.org>
Thu, 28 Oct 2021 11:57:00 +0000 (11:57 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 28 Oct 2021 11:57:00 +0000 (11:57 +0000)
commit1aea4e0e02a89c998e095b7a64772ea99c79fde2
tree31687b6eee74b31d208c44079983ad68a48b2aa6
parent4c53c90925c5eb296d412016500fb5ddedc8d333
Limit the size of the base64 blob inside the RRDP XML to be less than
MAX_FILE_SIZE after base64 decoding it. This way hostile RRDP servers
do less damage.
OK beck@ tb@
usr.sbin/rpki-client/encoding.c
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/rrdp.c
usr.sbin/rpki-client/rrdp.h
usr.sbin/rpki-client/rrdp_delta.c
usr.sbin/rpki-client/rrdp_snapshot.c