diff --git a/abduco.c b/abduco.c index 7e5256d..057873f 100644 --- a/abduco.c +++ b/abduco.c @@ -75,7 +75,7 @@ typedef struct { uint32_t type; uint32_t len; union { - char msg[BUFSIZ]; + char msg[4096 - 2*sizeof(uint32_t)]; struct { uint16_t rows; uint16_t cols;