summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_process.c
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-10-17 15:52:42 +0000
committerrobert <robert@FreeBSD.org>2002-10-17 15:52:42 +0000
commit98f9976c416b138a7aa31424783acb71d4e33356 (patch)
tree0b4142b6f18eb7ac641ebab7d90f80846f7c112f /sys/kern/sys_process.c
parente6696e09a3f2420002bf2bd9650b6d49ac19f312 (diff)
downloadFreeBSD-src-98f9976c416b138a7aa31424783acb71d4e33356.zip
FreeBSD-src-98f9976c416b138a7aa31424783acb71d4e33356.tar.gz
- 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.
Diffstat (limited to 'sys/kern/sys_process.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud