aboutsummaryrefslogtreecommitdiff
path: root/share/ctypedef
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-02-12 19:19:43 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-02-16 02:25:15 +0000
commit46cccd5ceb75b67a19459ced93f9b13a52722c63 (patch)
tree13c2f6b2f01948837a475a72767bd4d1ab22c9bc /share/ctypedef
parentbe4b3e7a5bf9e7b497fcfcc242eebb84d29a6e42 (diff)
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. (cherry picked from commit 1253835121cb38fd93478849e32a4a4c13436fb2)
Diffstat (limited to 'share/ctypedef')
0 files changed, 0 insertions, 0 deletions