summaryrefslogtreecommitdiff
path: root/app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch
blob: 70f51f9fa395251d524da921a41682a386ba930d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Fix SIGABRT in strcpy() call when running
From: Ricardo Mones <mones@debian.org>
Forwarded: https://github.com/lindes/ttyload/issues/8
Last-Update: 2019-01-13

--- a/ttyload.h
+++ b/ttyload.h
@@ -34,7 +34,7 @@ typedef struct load_list {
 /* storage for clock display along the bottom */
 typedef struct clock_info {
 	int	pos;
-	char	clock[6];
+	char	clock[7];
         time_t  when;
     } clock_info;