Description: fix crashes when result is too long
 When printing verbose dates, if the resulting string is too long
 the program crashes.
Author: Pierfrancesco Caci <pf@tippete.net>
Reviewed-by: Christian T. Steigies <cts@debian.org>
Last-Update: 2023-12-30
Index: hodie/src/hodie.c
===================================================================
--- hodie.orig/src/hodie.c
+++ hodie/src/hodie.c
@@ -6,7 +6,7 @@ const char* AUC[3]={"ab urbe condita","A
 int
 main(int argc, char** argv)
 {
-    char sec[16],min[16],hrs[16],day[16],mon[16],year[16],verbose[80],datetype[16],dateval[16];
+    char sec[16],min[16],hrs[16],day[16],mon[16],year[16],verbose[160],datetype[16],dateval[16];
     struct tm* p_ts;
     time_t t;
     int auc_base;
