[Bug c/81117] Improve buffer overflow checking in strncpy
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 10 22:49:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81117
--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Fri Nov 10 22:48:43 2017
New Revision: 254641
URL: https://gcc.gnu.org/viewcvs?rev=254641&root=gcc&view=rev
Log:
gcc/ChangeLog:
PR c/81117
* config/darwin-c.c (framework_construct_pathname): Replace strncpy
with memcpy.
(find_subframework_file): Same.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/darwin-c.c
More information about the Gcc-bugs
mailing list