Date: Wed, 22 Jan 2003 05:13:13 -0800 (PST) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_usrreq.c Message-ID: <200301221313.h0MDDDj4065527@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2003/01/22 05:13:13 PST
Modified files:
sys/kern uipc_usrreq.c
Log:
getpeername() returns with no error but didn't fill struct sockaddr
correctly against PF_LOCAL. It seems that the test always fails then
sockaddr was not filled. So, I added else clause for workaround.
I doubt if it is right fix. However, it is better than nothing. I
found that NetBSD has same potential problem. But, fortunately,
NetBSD has equivalent else clause.
MFC after: 1 week
Revision Changes Path
1.103 +2 -0 src/sys/kern/uipc_usrreq.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301221313.h0MDDDj4065527>
