diff options
author | Anna Zaks <ganna@apple.com> | 2015-11-20 18:42:05 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2015-11-20 18:42:05 +0000 |
commit | 19064f3963aeae33978242c7a0a1f93f092a3fe8 (patch) | |
tree | f65d69027690049daf0e97697c60216cf7a550ac /cmake | |
parent | dc4a93dca06f8f55c14d9d97ab29b54520e5419c (diff) |
[compiler-rt] Add internal implementations for strlcat and strlcpy
The compiler-rt should make use of strlcpy() rather than strncpy(). Using internal_strncpy() may be fine with appropriate bounds checking or enforcement of nul-termination elsewhere, but it's just good practice these days to avoid using strncpy() in new code.
A patch by Jeremy Sequoia!
Differential Revision: http://reviews.llvm.org/D14714
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions