HomeFreeBSD

netstat: avoid returning uninitialized value in p_sockaddr().

Description

netstat: avoid returning uninitialized value in p_sockaddr().

In the case the width is less than 0, we are returning an uninitialized
value. For practical purposes the return value is ignored but initialize
it to avoid trouble.

CID: 1341619

Details

Provenance
pfgAuthored on
Parents
rS297320: MFC r296095:
Branches
Unknown
Tags
Unknown