On Sun, Jan 05, 2020 at 06:41:08PM +0100, Alexander Bluhm wrote:
> Hi,
>
> When using netcat with the options -Uuvs I get:
>
> netcat-regress: getnameinfo: Invalid argument
>
> Using the same check when calling report_sock() as a few lines below
> fixes it.
>
> While there use the same error ch
On Sun, Jan 05, 2020 at 06:41:08PM +0100, Alexander Bluhm wrote:
> When using netcat with the options -Uuvs I get:
> netcat-regress: getnameinfo: Invalid argument
Correction, -U -u -n -v -l triggers the bug. -U -u -v -l gives:
netcat-regress: getnameinfo: ai_family not supported
My diff fixes b
Hi,
When using netcat with the options -Uuvs I get:
netcat-regress: getnameinfo: Invalid argument
Using the same check when calling report_sock() as a few lines below
fixes it.
While there use the same error check for both calls to getnameinfo(3).
ok?
bluhm
Index: usr.bin/nc/netcat.c
===