Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/getnameinfo



Module Name:    src
Committed By:   riastradh
Date:           Wed Feb  5 12:52:58 UTC 2025

Modified Files:
        src/usr.bin/getnameinfo: getnameinfo.c

Log Message:
getnameinfo(1): Fix crash on, e.g., `getnameinfo -4 -S -p 25'.

If an address family is specified, but no address is given, and we're
only printing the service name anyway, just use the `any' address.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/getnameinfo/getnameinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index