]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Frame Relay: make the buffer big enough for the biggest message.
authorGuy Harris <[email protected]>
Wed, 26 May 2021 06:25:41 +0000 (23:25 -0700)
committerGuy Harris <[email protected]>
Wed, 26 May 2021 06:25:41 +0000 (23:25 -0700)
print-fr.c

index 70b4d0af93889290eb8430fb2a2df97eaef6e855..f0d7fbeb12b38d4019a4f0bfa618e6124ec74966 100644 (file)
@@ -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));