diff options
author | ken <ken@FreeBSD.org> | 2002-05-14 04:32:02 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2002-05-14 04:32:02 +0000 |
commit | ca6188876e0e0246cb2b8a9fcf90459c077d6dd1 (patch) | |
tree | 45a762e3756d93b2e57090397f20b5126eb0781c /sbin/atm/fore_dnld | |
parent | 069c7c8d3a6bfa30bc8fe1210c9175e7d7c2b983 (diff) | |
download | FreeBSD-src-ca6188876e0e0246cb2b8a9fcf90459c077d6dd1.zip FreeBSD-src-ca6188876e0e0246cb2b8a9fcf90459c077d6dd1.tar.gz |
string cleanup:
- fix a potential overrun made worse by rev 1.5 of camlib.h
- change strncpy() and strcpy() calls to strlcpy()
- use sizeof(string[]) instead of STRING_LEN to avoid future problems
- get rid of an unused variable
Thanks to BDE for pointing out some of the problems.
MFC after: 2 weeks
Diffstat (limited to 'sbin/atm/fore_dnld')
0 files changed, 0 insertions, 0 deletions