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_4-43-g69196f


From: Simon Josefsson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-43-g69196f8
Date: Wed, 1 Jan 2020 06:41:48 -0500 (EST)

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  69196f8b6c02d6b5f7857db69f628c04e4b4bb58 (commit)
      from  a4a331b7eea141b13c04f79feff3fe7d8f4e0507 (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=69196f8b6c02d6b5f7857db69f628c04e4b4bb58


commit 69196f8b6c02d6b5f7857db69f628c04e4b4bb58
Author: Simon Josefsson <address@hidden>
Date:   Wed Jan 1 12:38:52 2020 +0100

    telnet: Telnet -E(no escape) is treating _POSIX_VDISABLE char as escape.
    
    Reported by Mikhail Bychek <address@hidden>.
    
    See also:
    
https://github.com/freebsd/freebsd/commit/c3694d985891efb8a156e933600d23132577a053
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=6317

diff --git a/telnet/telnet.c b/telnet/telnet.c
index fe2bd71..46b9cde 100644
--- a/telnet/telnet.c
+++ b/telnet/telnet.c
@@ -2223,7 +2223,7 @@ telsnd (void)
          if ((sc == '\n') || (sc == '\r'))
            bol = 1;
        }
-      else if (sc == escape)
+      else if (escape != _POSIX_VDISABLE && sc == escape)
        {
          /*
           * Double escape is a pass through of a single escape character.

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

Summary of changes:
 telnet/telnet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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