re PR c/81117 (Improve buffer overflow checking in strncpy)
authorMartin Sebor <msebor@redhat.com>
Fri, 10 Nov 2017 22:48:43 +0000 (22:48 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Fri, 10 Nov 2017 22:48:43 +0000 (15:48 -0700)
commit6e718159ce712910c6e712ad68390b4edcf606f7
tree621cb871ed24947b9fd1a6e4e41f12b37cac612b
parentf382ac6d527478171d880d7c77ecb816fe114661
re PR c/81117 (Improve buffer overflow checking in strncpy)

gcc/ChangeLog:

PR c/81117
* config/darwin-c.c (framework_construct_pathname): Replace strncpy
with memcpy.
(find_subframework_file): Same.

From-SVN: r254641
gcc/ChangeLog
gcc/config/darwin-c.c