diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-22 23:15:36 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-22 23:15:36 +0000 |
commit | ee11682d4f530cbbd29b9e3aa69e8d7f8c269d1c (patch) | |
tree | 4cfa4deb01edc57c4f6ba1f6fe21297615ee6dfa /stdlib/mod_1.c | |
parent | ae959c26db5d11bcda0335ea72b696a28e1b6e3a (diff) | |
download | glibc-ee11682d4f530cbbd29b9e3aa69e8d7f8c269d1c.zip glibc-ee11682d4f530cbbd29b9e3aa69e8d7f8c269d1c.tar.gz glibc-ee11682d4f530cbbd29b9e3aa69e8d7f8c269d1c.tar.bz2 |
hurd: Fix strcpy calls
strcpy cannot be used with overlapping buffer, we have to use memmove
instead. strcpy also cannot be safely used when the destination buffer
is smaller that the source, we need to use strncpy to truncate the
source if needed.
Diffstat (limited to 'stdlib/mod_1.c')
0 files changed, 0 insertions, 0 deletions