Your message dated Sat, 29 Dec 2007 10:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#456239: fixed in tcputils 0.6.2-9
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: tcputils
Version: 0.6.2-6
Severity: important
Tags: patch


The 64-bit binary of "tcpconnect" is failing to connect when given a
hostname, reporting "Network is unreachable".  It works fine when given an
ip address.  It appears this is because the code in
ip/tcp_open.c:tcp_open() is comparing the result of a call to inet_addr()
with "(unsigned long)-1)" where I'm thinking it should be comparing instead
to "INADDR_NONE" according to the docs for inet_addr I found on the web (I
didn't seem to have a manpage for inet_addr on the debian box).  There
might well be other parts of the code that have issues with 64-bit, though.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.29-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tcputils depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries

tcputils recommends no packages.

-- no debconf information
--- tcputils-0.6.2/ip/tcp_open.c.orig	1996-07-04 10:44:56.000000000 -0400
+++ tcputils-0.6.2/ip/tcp_open.c	2007-12-13 15:21:05.000000000 -0500
@@ -65,7 +65,7 @@
 
     /* Check for numerical IP address */
     server.sin_addr.s_addr = inet_addr(remote_host);
-    if (server.sin_addr.s_addr != (unsigned long)-1)
+    if (server.sin_addr.s_addr != INADDR_NONE)
     {
 	if (connect(s, (struct sockaddr*)&server, sizeof server) < 0)
 	    ERRORRET(-1);

--- End Message ---
--- Begin Message ---
Source: tcputils
Source-Version: 0.6.2-9

We believe that the bug you reported is fixed in the latest version of
tcputils, which is due to be installed in the Debian FTP archive:

tcputils_0.6.2-9.diff.gz
  to pool/main/t/tcputils/tcputils_0.6.2-9.diff.gz
tcputils_0.6.2-9.dsc
  to pool/main/t/tcputils/tcputils_0.6.2-9.dsc
tcputils_0.6.2-9_amd64.deb
  to pool/main/t/tcputils/tcputils_0.6.2-9_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joel Rosdahl <[EMAIL PROTECTED]> (supplier of updated tcputils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 29 Dec 2007 11:23:59 +0100
Source: tcputils
Binary: tcputils
Architecture: source amd64
Version: 0.6.2-9
Distribution: unstable
Urgency: low
Maintainer: Joel Rosdahl <[EMAIL PROTECTED]>
Changed-By: Joel Rosdahl <[EMAIL PROTECTED]>
Description: 
 tcputils   - Utilities for TCP programming in shell-scripts
Closes: 456239
Changes: 
 tcputils (0.6.2-9) unstable; urgency=low
 .
   * Fixed parsing of hostnames on 64-bit architecture. Patch from Will
     Day. Closes: bug#456239.
   * Standards-Version 3.7.3.
Files: 
 ecec3ea03e620d8322bd33afade4dbfd 562 net optional tcputils_0.6.2-9.dsc
 6621757f656f4053b73425729572a129 2909 net optional tcputils_0.6.2-9.diff.gz
 7abfcb2089f89d57712f449544e4566f 20778 net optional tcputils_0.6.2-9_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHdiB3AGT5/7uEXpcRAstcAJ96rpJqnIuXqmT7m8MgvXE/3ShscwCg0IS4
mw+//m8zkKWxPeiToSJFMnw=
=egpu
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to