summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/xprintf_quote.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-09-25 01:17:24 +0000
committerdelphij <delphij@FreeBSD.org>2015-09-25 01:17:24 +0000
commitabaf4cee122aa83567818185bfbf7245e344ba37 (patch)
tree94e5e854365ad4c326d6a32b5020449f5cbedf69 /lib/libc/stdio/xprintf_quote.c
parenta5313e9c06aa2e59378cb8508a90557065f9fa78 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud