[libc-commits] [PATCH] D111583: [libc] Add strncat and fix strcat

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Oct 12 10:00:36 PDT 2021


michaelrj updated this revision to Diff 379091.
michaelrj marked 2 inline comments as done.
michaelrj added a comment.

fix strncat writing null bytes beyond the end of src, and add a test for that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111583/new/

https://reviews.llvm.org/D111583

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/string/CMakeLists.txt
  libc/src/string/strcat.cpp
  libc/src/string/strncat.cpp
  libc/src/string/strncat.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/strncat_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111583.379091.patch
Type: text/x-patch
Size: 6443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211012/48d4d942/attachment.bin>


More information about the libc-commits mailing list