Fix boundary check of sockaddr array.

Reported by:	uqs