From: Maria Matejka Date: Fri, 16 Aug 2019 19:22:56 +0000 (+0200) Subject: RPKI: fixed rare va_list leak X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc62d55e7438ac8d9f48575a18c425a1b2386ac;p=thirdparty%2Fbird.git RPKI: fixed rare va_list leak --- diff --git a/proto/rpki/packets.c b/proto/rpki/packets.c index 59a5efaf1..e9d24fb8d 100644 --- a/proto/rpki/packets.c +++ b/proto/rpki/packets.c @@ -1011,6 +1011,7 @@ rpki_send_error_pdu(struct rpki_cache *cache, const enum pdu_error_type error_co { va_start(args, fmt); msg_len = bvsnprintf(msg, sizeof(msg), fmt, args) + 1; + va_end(args); } u32 pdu_size = 16 + err_pdu_len + msg_len;