FYI I just refactored and simplified the option/argument verification
logic. Here are examples of command invocations with 0, 1, or 2
non-optional arguments.
Listening on AF_UNIX socket /tmp/sock (nc.openbsd <1.187-1 supports only
the second invocation).
$ strace -e trace=bind nc -U -l -s
Control: tag -1 pending
Hi Christian,
On Fri, 27 Apr 2018 at 10:22:55 +0200, Christian Ehrhardt wrote:
> It realizes no more options are there and then ends at
> } else if (argv[0] && argv[1]) {
> host = argv[0];
> uport = [1];
> if (pflag || sflag)
>
Package: netcat-openbsd
Version: 1.190-1
Hi,
while triaging [1] I realized Debian is affected as well and the change is
from Guilhem, so I wanted to report to you as well.
Some details:
-s is broken, e.g. example from the man page:
# netcat -s 10.1.2.3 host.example.com 42
usage: nc
3 matches
Mail list logo