diff options
author | delphij <delphij@FreeBSD.org> | 2015-08-31 06:11:39 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-08-31 06:11:39 +0000 |
commit | 12dcab665d5b5bd29c665ef247cac3dd2235fae0 (patch) | |
tree | df1e33e4a303db28af370ea492baf8de87700688 /sys | |
parent | 7e8aee6f078850c495107305a3bc47878520c5e6 (diff) | |
download | FreeBSD-src-12dcab665d5b5bd29c665ef247cac3dd2235fae0.zip FreeBSD-src-12dcab665d5b5bd29c665ef247cac3dd2235fae0.tar.gz |
- uri is expected to be nul-terminated (strchr used later),
so use strlcpy instead of strncpy.
- unroll the other two cases of strncpy+\0 to strlcpy.
MFC after: 2 weeks
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions