From 25a28a61a39d87317766fa980c55fbe4f1bf3d6e Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Wed, 13 Mar 2024 11:56:11 +0100 Subject: [PATCH] netwmicon_ff - increase buffer size to 16 --- patch/netwmicon_ff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/netwmicon_ff.c b/patch/netwmicon_ff.c index 117ae03..3bb9ed9 100644 --- a/patch/netwmicon_ff.c +++ b/patch/netwmicon_ff.c @@ -4,7 +4,7 @@ setnetwmicon(void) /* use a farbfeld image to set _NET_WM_ICON */ FILE* file = fopen(ICON, "r"); if (file) { - unsigned char buf[8] = {0}; + unsigned char buf[16] = {0}; int hasdata = fread(buf,1,16,file); if (memcmp(buf,"farbfeld",8)) {