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 | c54cf07fd75d714576a2977a9f561a6c3a832083 (patch) | |
| tree | 51bd38d13e113293dcb73da0fad6ee1a0f0deb91 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 8d225205e37187cf2695fa3c421794fcaf9e0030 (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
llvm-svn: 253690
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
