diff --git a/src/rx/rx.c b/src/rx/rx.c index d045d8b140..cb2da3be0b 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -6086,7 +6086,7 @@ rxi_NatKeepAliveEvent(struct rxevent *event, void *arg1, void *dummy) { struct rx_connection *conn = arg1; struct rx_header theader; - char tbuffer[1500]; + char tbuffer[1 + sizeof(struct rx_header)]; struct sockaddr_in taddr; char *tp; char a[1] = { 0 };