From 1f1c02a3b0bbd3a88bf6b4a8ae235a07721ea5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 27 Jun 2017 08:50:10 +0200 Subject: [PATCH] Avoid use of BUFSIZ to guarantee system independent package size --- abduco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;