summaryrefslogtreecommitdiff
path: root/app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-07 00:16:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-07 00:16:33 +0100
commitd162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch)
tree24cd2cf57f3932a24b96e4a0f6666489447e43ba /app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch
parent590b9b7b03bf4651e099949e318755af7cfa81b8 (diff)
gentoo resync : 07.08.2021
Diffstat (limited to 'app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch')
-rw-r--r--app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch b/app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch
new file mode 100644
index 000000000000..70f51f9fa395
--- /dev/null
+++ b/app-misc/ttyload/files/ttyload-0.5.3-fix-sigabrt-in-strcpy.patch
@@ -0,0 +1,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;
+