summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcscat.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-23 04:35:25 +0000
committertjr <tjr@FreeBSD.org>2002-10-23 04:35:25 +0000
commit648d24ba625178e1ef5789d4fa7c27f9e5eb2e15 (patch)
tree52a64e91233ac54aed220980167ba757678618c5 /lib/libc/string/wcscat.c
parent2450bdb69b00fa80c6300b0490ce491af643f642 (diff)
downloadFreeBSD-src-648d24ba625178e1ef5789d4fa7c27f9e5eb2e15.zip
FreeBSD-src-648d24ba625178e1ef5789d4fa7c27f9e5eb2e15.tar.gz
Replace this wcsncpy() implementation with one based on strncpy.c to fix
two major bugs: - off-by-one overflow when the length of the source string exceeds or equals the destination buffer size. - old version was not padding the destination buffer with null wide chars
Diffstat (limited to 'lib/libc/string/wcscat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud