summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-12-18 23:05:36 +0000
committerpfg <pfg@FreeBSD.org>2015-12-18 23:05:36 +0000
commit690479eac41bea3965d72f8f50f29dc4576b616c (patch)
tree8447d61ce0b26c9604c55d494d241c2357a316aa /lib/libc/stdlib/labs.c
parent0ba92f8ec128fc6965986160d6115ebd38484371 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud