code: drawterm

Download patch

ref: a38e9e1dc0e0957dcf1b4b4f14d49b79e80d65a3
parent: 774d1d233e7803e769add45a4df1ae4b86f41b10
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jul 9 06:55:20 EDT 2018

secstore: increase line buffer size to 8k to avoid warning on big keys (rsa)

--- a/cpu.c
+++ b/cpu.c
@@ -813,7 +813,7 @@
 static int
 findkey(Authkey *key, char *user, char *dom, char *proto)
 {
-	char buf[1024], *f[50], *p, *ep, *nextp, *hex, *pass, *id, *role;
+	char buf[8192], *f[50], *p, *ep, *nextp, *hex, *pass, *id, *role;
 	int nf, haveproto,  havedom, i;
 
 	for(p=secstorebuf; *p; p=nextp){