diff mbox series

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

Message ID 20180808135453.473-1-tusker@tusker.org
State Accepted
Headers show
Series [OpenWrt-Devel] Change the sigb buffer to be the same size as the fread | expand

Commit Message

Damien Mascord Aug. 8, 2018, 1:54 p.m. UTC
Signed-off-by: Damien Mascord <tusker@tusker.org>
---
 ucert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jo-Philipp Wich Aug. 8, 2018, 5:49 p.m. UTC | #1
Merged into project/ucert.git, branch master at
http://git.openwrt.org/?p=project/ucert.git.

Thank you!
diff mbox series

Patch

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";