From: Guy Harris Date: Wed, 26 May 2021 06:25:41 +0000 (-0700) Subject: Frame Relay: make the buffer big enough for the biggest message. X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/df2dc59f6c0bf217afdbddbd178d3114a9edc2b5 Frame Relay: make the buffer big enough for the biggest message. --- diff --git a/print-fr.c b/print-fr.c index 70b4d0af..f0d7fbeb 100644 --- a/print-fr.c +++ b/print-fr.c @@ -147,7 +147,7 @@ q922_string(netdissect_options *ndo, const u_char *p, u_int length) static u_int dlci, addr_len; static uint32_t flags; - static char buffer[sizeof("DLCI xxxxxxxxxx")]; + static char buffer[sizeof("parse_q922_header() returned XXXXXXXXXXX")]; int ret; memset(buffer, 0, sizeof(buffer));