diff options
author | Mike Barcroft <mike@FreeBSD.org> | 2001-08-12 17:54:49 +0000 |
---|---|---|
committer | Mike Barcroft <mike@FreeBSD.org> | 2001-08-12 17:54:49 +0000 |
commit | 9ab4f412312f92f6d0c4db702777c9956ce7cfa0 (patch) | |
tree | 1be212b72c442830541aa0c43bc10fb0adcccb0e /usr.bin/opieinfo | |
parent | f418fdfb895f8daf699588af984a34fbec32b2bc (diff) | |
download | src-9ab4f412312f92f6d0c4db702777c9956ce7cfa0.tar.gz src-9ab4f412312f92f6d0c4db702777c9956ce7cfa0.zip |
o Replace occurrences of strncpy(3) with strlcpy(3); most of
the uses of it were wrong anyway.
o Always check for NULL returns on strdup(3).
o Fix a possible buffer overflow in strcpy(3).
o Fix a format string vulnerability.
o t->ty_type in stypeof() could be NULL and eventually cause
a segmentation fault in setenv(3), so check for that.
Eyeballed by: kris
Reviewed by: murray
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=81555
Diffstat (limited to 'usr.bin/opieinfo')
0 files changed, 0 insertions, 0 deletions