commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_1-325-gab8e5


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_1-325-gab8e5c4
Date: Fri, 30 Aug 2013 13:51:38 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  ab8e5c4d8079ecb1278b9724e04d98e093ef5e23 (commit)
      from  d01210da4810bbcee9f3f5cfad37a654639468ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=ab8e5c4d8079ecb1278b9724e04d98e093ef5e23


commit ab8e5c4d8079ecb1278b9724e04d98e093ef5e23
Author: Mats Erik Andersson <address@hidden>
Date:   Wed Aug 28 12:59:42 2013 +0200

    ftp: Secrecy in debug mode.

diff --git a/ChangeLog b/ChangeLog
index 6f2139e..b88741d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-08-28  Mats Erik Andersson  <address@hidden>
+
+       ftp: Secrecy in debug mode.
+
+       * ftp/ftp.c (command) <debug>: Insert a missing `else'.
+       This avoids displaying the password in clear text.
+       Problem introduced in a change made 2013-05-17.
+
 2013-08-25  Mats Erik Andersson  <address@hidden>
 
        False negative while testing syslogd.
diff --git a/ftp/ftp.c b/ftp/ftp.c
index 7e3e41e..c9b5aaf 100644
--- a/ftp/ftp.c
+++ b/ftp/ftp.c
@@ -396,7 +396,7 @@ command (const char *fmt, ...)
       va_start (ap, fmt);
       if (strncmp ("PASS ", fmt, 5) == 0)
        printf ("PASS XXXX");
-      if (strncmp ("ACCT ", fmt, 5) == 0)
+      else if (strncmp ("ACCT ", fmt, 5) == 0)
        printf ("ACCT XXXX");
       else
        vfprintf (stdout, fmt, ap);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    8 ++++++++
 ftp/ftp.c |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]