1From 5ba63850818457aa3147ab40adc376ff7dc0f1c9 Mon Sep 17 00:00:00 2001
2From: "Steven M. Schweda" <sms@antinode.info>
3Date: Sat, 15 Jun 2019 18:13:11 -0700
4Subject: [PATCH] Increase size of cfactorstr array to avoid buffer overflow
5
6---
7 list.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/list.c b/list.c
11index 15e0011..5de41e5 100644
12--- a/list.c
13+++ b/list.c
14@@ -97,7 +97,7 @@ int list_files(__G) /* return PK-type error code */
15 {
16 int do_this_file=FALSE, cfactor, error, error_in_archive=PK_COOL;
17 #ifndef WINDLL
18- char sgn, cfactorstr[10];
19+ char sgn, cfactorstr[12];
20 int longhdr=(uO.vflag>1);
21 #endif
22 int date_format;
23--
242.20.1
25