summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/stdexcept.cpp
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-20 06:33:02 +0000
committertruckman <truckman@FreeBSD.org>2016-05-20 06:33:02 +0000
commit936d644d38ed48d52a4644db1dbca297a504170e (patch)
treeaea8f8c44294170e06ed90107404666729b8996c /contrib/libc++/src/stdexcept.cpp
parent5e92b42b1a96a917ed2c4a062277670eb485e244 (diff)
downloadFreeBSD-src-936d644d38ed48d52a4644db1dbca297a504170e.zip
FreeBSD-src-936d644d38ed48d52a4644db1dbca297a504170e.tar.gz
MFC r299580
Use strlcpy() instead of strncpy() to ensure that ret->name is NUL terminated. The source and destination buffers are the same size and the source *should* be NUL terminated, but be paranoid. Reported by: Coverity CID: 1011274
Diffstat (limited to 'contrib/libc++/src/stdexcept.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud