HomeFreeBSD

Fix Coverity issues

Description

Fix Coverity issues

  • Initialize .sun_len before passing it to strlcpy and bind.
  • Close fd on error

MFC after: 3 days
Reported by: Coverity
CID: 978283, 979581

Details

Provenance
ngieAuthored on
Parents
rS311232: MFC r310705, r310706:
Branches
Unknown
Tags
Unknown