diff options
author | pfg <pfg@FreeBSD.org> | 2015-12-18 23:05:36 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-12-18 23:05:36 +0000 |
commit | 690479eac41bea3965d72f8f50f29dc4576b616c (patch) | |
tree | 8447d61ce0b26c9604c55d494d241c2357a316aa /lib/libc/stdlib/labs.c | |
parent | 0ba92f8ec128fc6965986160d6115ebd38484371 (diff) | |
download | FreeBSD-src-690479eac41bea3965d72f8f50f29dc4576b616c.zip FreeBSD-src-690479eac41bea3965d72f8f50f29dc4576b616c.tar.gz |
ed(1): Prevent possible string overflows
Use strlcpy instead of strncpy to guarantee NULL termination.
Pointed out by: imp
CID: 1007252
X-MFC with: r292454
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions