Subject: netcat-openbsd: Segfaults when using -Ulv
Package: netcat-openbsd
Version: 1.105-5
Severity: normal

*** Please type your report below this line ***

Hi, thanks for taking over maintenance of this package; it was
much in need of attention.

I think a bug was introduced in 1.105-1 because of this line:

  fprintf(stderr, "Listening on [%s] (family %d, port %s)\n",
          host ?: local,
          family,
          *uport);

which was added to 0008-verbose-numeric-port.patch.  The problem
is that uport is normally NULL when using Unix domain sockets, so
for example:

  nc -Ulv /tmp/unix.skt

segfaults.

I suggest not printing any port in the Unix domain socket case.
Thanks.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-0.bpo.2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netcat-openbsd depends on:
ii  libbsd0             0.2.0-1    utility functions from BSD systems
ii  libc6               2.11.3-3   Embedded GNU C Library: Shared lib

netcat-openbsd recommends no packages.

netcat-openbsd suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to