Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2020-11-16 17:55:15 +0300
committerCorinna Vinschen <corinna@vinschen.de>2020-11-16 17:57:31 +0300
commit3b80191f3348d109bcebb8e13f1bd81aa8f91be6 (patch)
tree438a0e458fab78ae37339078a5507fd0e35560bc /winsup/testsuite
parent302b82afee423fcb5a447a222e2b771ef9c06ee0 (diff)
Cygwin: testsuite: fix insecure usage of printf in libltp
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/testsuite')
-rw-r--r--winsup/testsuite/libltp/lib/parse_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/libltp/lib/parse_opts.c b/winsup/testsuite/libltp/lib/parse_opts.c
index 4a8058938..0282a0976 100644
--- a/winsup/testsuite/libltp/lib/parse_opts.c
+++ b/winsup/testsuite/libltp/lib/parse_opts.c
@@ -583,7 +583,7 @@ STD_opts_help()
for(i = 0; std_options[i].optstr; ++i) {
if (std_options[i].help)
- printf(std_options[i].help);
+ fputs(std_options[i].help, stdout);
}
}