Package: telnet-ssl
Version: 0.17.24+0.1-7.1
Severity: normal

telnet-ssl crashes on socks environment.

--- telnet/netlink.cc.ORIG      2005-06-16 13:59:42.000000000 +0900
+++ telnet/netlink.cc   2005-06-16 13:40:42.000000000 +0900
@@ -71,7 +71,7 @@
 
 
 netlink::netlink() { net = -1; }
-netlink::~netlink() { ::close(net); }
+netlink::~netlink() { if (net > 0) ::close(net); }
 
 
 int netlink::setdebug(int debug) {
@@ -96,7 +96,8 @@
        ssl_active_flag=0;
     }
 #endif /* USE_SSL */
-    ::close(net);
+    if (net > 0)
+       ::close(net);
     net = -1;
 }
 

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-co-0.6.3-pre13
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)

Versions of packages telnet-ssl depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-13   GCC support library
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  libstdc++5                  1:3.3.5-13   The GNU Standard C++ Library v3
ii  netbase                     4.21         Basic TCP/IP networking system

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to