The warning was:
./print-bgp.c:973:79: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
973 | snprintf(output, sizeof(output), "route-target: %u.%u.%u.%u:%u/%d (%s)",
| ^
./print-bgp.c:973:9: note: 'snprintf' output between 30 and 61 bytes into a destination of size 60
973 | snprintf(output, sizeof(output), "route-target: %u.%u.%u.%u:%u/%d (%s)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
974 | *(pptr+2), *(pptr+3), *(pptr+4), *(pptr+5),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
975 | EXTRACT_BE_U_2(pptr+6), plen, rtc_prefix_in_hex);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* allocate space for the largest possible string */
char rtc_prefix_in_hex[20] = "";
u_int rtc_prefix_in_hex_len = 0;
- static char output[60]; /* max response string */
+ static char output[61]; /* max response string */
uint16_t ec_type = 0;
u_int octet_count;
u_int i;