diff options
author | pfg <pfg@FreeBSD.org> | 2015-12-26 18:37:01 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-12-26 18:37:01 +0000 |
commit | 1ee182fa5f4a0ca44fe9d5fa12b6aabd54173fe7 (patch) | |
tree | feaadf346a93ed1d4a88cff547cf39c02a8d3272 /lib/libc/stdio/vasprintf.c | |
parent | c41fd18fc06371fed84c5d6dce7ba85695860b6e (diff) | |
download | FreeBSD-src-1ee182fa5f4a0ca44fe9d5fa12b6aabd54173fe7.zip FreeBSD-src-1ee182fa5f4a0ca44fe9d5fa12b6aabd54173fe7.tar.gz |
MFC r292454, r292455
ed(1): Prevent possible string overflows
Use strlcpy to guarantee NULL termination.
With hint from: imp, cem, ngie
CID: 1007252
Diffstat (limited to 'lib/libc/stdio/vasprintf.c')
0 files changed, 0 insertions, 0 deletions