Date: Thu, 17 Oct 2002 08:52:43 -0700 (PDT) From: Robert Drehmel <robert@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_usrreq.c Message-ID: <200210171552.g9HFqhSB062624@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
robert 2002/10/17 08:52:43 PDT
Modified files:
sys/kern uipc_usrreq.c
Log:
- Allocate only enough space for a temporary buffer to hold
the path including the terminating NUL character from
`struct sockaddr_un' rather than SOCK_MAXADDRLEN bytes.
- Use strlcpy() instead of strncpy() to copy strings.
Revision Changes Path
1.97 +6 -5 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?200210171552.g9HFqhSB062624>
