about summary refs log tree commit diff
path: root/pkgs/shells/rush/fix-format-security-error.patch
blob: ed3ad0aa4c1fa1e8b00f08192ced330083def6dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur rush-1.8.orig/lib/wordsplit.c rush-1.8/lib/wordsplit.c
--- rush-1.8.orig/lib/wordsplit.c	2016-08-18 20:11:43.000000000 +0200
+++ rush-1.8/lib/wordsplit.c	2016-11-14 14:37:02.976177414 +0100
@@ -2330,7 +2330,7 @@
       break;
 
     default:
-      wsp->ws_error (wordsplit_strerror (wsp));
+      wsp->ws_error ("%s", wordsplit_strerror (wsp));
     }
 }