[OpenWrt-Devel] [PATCH] Change the sigb buffer to be the same size as the fread

Damien Mascord tusker at tusker.org
Wed Aug 8 09:54:53 EDT 2018


Signed-off-by: Damien Mascord <tusker at tusker.org>
---
 ucert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ucert.c b/ucert.c
index 53a1a05..569b31d 100644
--- a/ucert.c
+++ b/ucert.c
@@ -414,7 +414,7 @@ static int cert_issue(const char *certfile, const char *pubkeyfile, const char *
 	void *c;
 	FILE *pkf, *sigf;
 	char pkb[512];
-	char sigb[512];
+	char sigb[1024];
 	char fname[256], sfname[256];
 	char pkfp[17];
 	char tmpdir[] = "/tmp/ucert-XXXXXX";
-- 
2.16.4


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list