summarylogtreecommitdiffstats
path: root/fix-error-format-security.patch
blob: 8a5b563ccbe1e822f8167eff3b9efaa1203e18f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/shell.c.sav	2021-09-02 22:11:07.334238801 +0200
+++ src/shell.c	2021-09-02 22:11:34.440605395 +0200
@@ -692,7 +692,7 @@
   }else
 
   if( c=='h' && strncmp(azArg[0], "help", n)==0 ){
-    fprintf(stderr,zHelp);
+    fprintf(stderr,"%s",zHelp);
   }else
 
   if( c=='i' && strncmp(azArg[0], "indices", n)==0 && nArg>1 ){