about summary refs log tree commit diff stats
path: root/bonus
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-10-08 23:30:04 +0200
committerbptato <nincsnevem662@gmail.com>2023-10-08 23:30:38 +0200
commitcde83493795754c16436bd01b198e779827dc16e (patch)
tree611632579a7adb1f81f7ce1e62aa118c5fab6b9b /bonus
parent94cad9646ce9cd495b09768d6c9b0170c067e283 (diff)
downloadchawan-cde83493795754c16436bd01b198e779827dc16e.tar.gz
gmifetch: fix buffer overflow
ew
Diffstat (limited to 'bonus')
-rw-r--r--bonus/gmifetch/gmifetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bonus/gmifetch/gmifetch.c b/bonus/gmifetch/gmifetch.c
index f10554c6..d0234728 100644
--- a/bonus/gmifetch/gmifetch.c
+++ b/bonus/gmifetch/gmifetch.c
@@ -153,7 +153,7 @@ static BIO *conn;
 #define BUFSIZE2 8192
 
 static char buffer[BUFSIZE + 1];
-static char buffer2[BUFSIZE + 1];
+static char buffer2[BUFSIZE2 + 1];
 static char urlbuf[BUFSIZE + 1];
 static char khsbuf[BUFSIZE + 2];
 static unsigned char hashbuf[EVP_MAX_MD_SIZE];