diff options
author | ngie <ngie@FreeBSD.org> | 2017-01-13 09:04:26 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-01-13 09:04:26 +0000 |
commit | 0d1d9b78d55a52a685b8c7789982a01450ecf8e3 (patch) | |
tree | 975118d083ad109f72d8f6dcd9ee60959b387be1 /contrib/amd | |
parent | cdcf1ebcedb7b9494e2ff7c56e80a3e806ba43d6 (diff) | |
download | FreeBSD-src-0d1d9b78d55a52a685b8c7789982a01450ecf8e3.zip FreeBSD-src-0d1d9b78d55a52a685b8c7789982a01450ecf8e3.tar.gz |
MFC r311378:
lm_load: fix string copying issues
- Ensure `section` doesn't overrun section by using strlcpy instead of
strcpy [*].
- Use strdup instead of malloc + strcpy (this wasn't flagged by Coverity,
but is an opportunistic change).
CID: 1006826 [*]
Diffstat (limited to 'contrib/amd')
0 files changed, 0 insertions, 0 deletions