diff options
Diffstat (limited to 'source/ap')
-rw-r--r-- | source/ap/dash/dash-0.5.7-format-security.patch | 13 | ||||
-rwxr-xr-x | source/ap/dash/dash.SlackBuild | 5 |
2 files changed, 1 insertions, 17 deletions
diff --git a/source/ap/dash/dash-0.5.7-format-security.patch b/source/ap/dash/dash-0.5.7-format-security.patch deleted file mode 100644 index d578dfbd8..000000000 --- a/source/ap/dash/dash-0.5.7-format-security.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/jobs.c b/src/jobs.c -index bf40204..f3af44d 100644 ---- a/src/jobs.c -+++ b/src/jobs.c -@@ -427,7 +427,7 @@ sprint_status(char *s, int status, int sigonly) - goto out; - #endif - } -- col = fmtstr(s, 32, strsignal(st)); -+ col = fmtstr(s, 32, "%s", strsignal(st)); - #ifdef WCOREDUMP - if (WCOREDUMP(status)) { - col += fmtstr(s + col, 16, " (core dumped)"); diff --git a/source/ap/dash/dash.SlackBuild b/source/ap/dash/dash.SlackBuild index 45bc99d90..62af6dcf7 100755 --- a/source/ap/dash/dash.SlackBuild +++ b/source/ap/dash/dash.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -85,9 +85,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# Allow dash to compile with -Werror=format-security: -zcat $CWD/dash-0.5.7-format-security.patch.gz | patch -p1 --verbose || exit 1 - if [ ! -x ./configure ]; then ./autogen.sh fi |