[PATCH 3/4] enhance overflow and truncation detection in strncpy and strncat (PR 81117)

Martin Sebor msebor@gmail.com
Sun Aug 6 20:07:00 GMT 2017


Part 3 of the series contains the meat of the patch: the new
-Wstringop-truncation option, and enhancements to -Wstringop-
overflow, and -Wpointer-sizeof-memaccess to detect misuses of
strncpy and strncat.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-81117-3.diff
Type: text/x-patch
Size: 69170 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170806/9a0f6a85/attachment.bin>


More information about the Gcc-patches mailing list