diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-02-25 22:00:34 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-02-25 22:00:34 +0000 |
commit | 9c394f4cbeaba21a1317bb2516636cf0c67c6da6 (patch) | |
tree | 0a953da82fa9487907c72d346c8150f4d90dfccc /package/network/utils/linux-atm/patches/600-fix-format-errors.patch | |
parent | 93c59ac89271f5e3305708ff849944847f2bdf2f (diff) | |
download | mtk-20170518-9c394f4cbeaba21a1317bb2516636cf0c67c6da6.zip mtk-20170518-9c394f4cbeaba21a1317bb2516636cf0c67c6da6.tar.gz mtk-20170518-9c394f4cbeaba21a1317bb2516636cf0c67c6da6.tar.bz2 |
linux-atm: activate format security checks
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48786
Diffstat (limited to 'package/network/utils/linux-atm/patches/600-fix-format-errors.patch')
-rw-r--r-- | package/network/utils/linux-atm/patches/600-fix-format-errors.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/linux-atm/patches/600-fix-format-errors.patch b/package/network/utils/linux-atm/patches/600-fix-format-errors.patch new file mode 100644 index 0000000..ef484f2 --- /dev/null +++ b/package/network/utils/linux-atm/patches/600-fix-format-errors.patch @@ -0,0 +1,11 @@ +--- a/src/test/ttcp.c ++++ b/src/test/ttcp.c +@@ -664,7 +664,7 @@ int no_check = 0; + exit(0); + + usage: +- fprintf(stderr, Usage); ++ fprintf(stderr, "%s", Usage); + exit(1); + } + |