freebsd-dev/usr.sbin/inetd
Kyle Evans 1253835121 inetd: fix unix sockaddr's length assignment
unsz was always exactly '1' here due to an unfortunate mispositioning
of closing parenthesis. While it's generally irrelevant because bind(2)
is passed the (accurate) sep->se_ctrladdr_size instead, it's not very
helpful for anything locally that wants to use it rather than assuming
that sep->se_ctrladdr_size perfectly fits the end of sun_path.

Just drop unsz entirely and use the result of SUN_LEN() for it.

MFC-after:	3 days
2021-02-12 13:36:38 -06:00
..
builtins.c inetd: prefer strtonum(3) to strspn(3)+atoi(3), NFC 2019-12-31 04:36:14 +00:00
inetd.8 inetd(8): Add comments to all examples 2020-05-14 17:52:29 +00:00
inetd.c inetd: fix unix sockaddr's length assignment 2021-02-12 13:36:38 -06:00
inetd.conf
inetd.h inetd: track all child pids, regardless of maxchild spec 2020-01-01 04:22:04 +00:00
Makefile inetd: convert remaining bzero(3) to memset(3), NFC 2020-01-01 04:29:08 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options
pathnames.h