diff options
author | delphij <delphij@FreeBSD.org> | 2015-09-25 01:17:24 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-09-25 01:17:24 +0000 |
commit | abaf4cee122aa83567818185bfbf7245e344ba37 (patch) | |
tree | 94e5e854365ad4c326d6a32b5020449f5cbedf69 /lib/libc/stdio/xprintf_quote.c | |
parent | a5313e9c06aa2e59378cb8508a90557065f9fa78 (diff) | |
download | FreeBSD-src-abaf4cee122aa83567818185bfbf7245e344ba37.zip FreeBSD-src-abaf4cee122aa83567818185bfbf7245e344ba37.tar.gz |
MFC r287650:
Use strlcpy() in favor of strncpy() as it's defined to have a nul character
at the end of string buffer, and the code context do expects this to behave
correctly (e.g. strchr).
Diffstat (limited to 'lib/libc/stdio/xprintf_quote.c')
0 files changed, 0 insertions, 0 deletions