summaryrefslogtreecommitdiffstats
path: root/usr.bin/write
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2001-08-12 17:54:49 +0000
committermike <mike@FreeBSD.org>2001-08-12 17:54:49 +0000
commitc675f2ec8719164bb49bfaa2d7f39bb3604ec69b (patch)
tree1be212b72c442830541aa0c43bc10fb0adcccb0e /usr.bin/write
parentb4724cab6a316b175fbe2c8a4cb908ea5f5320ce (diff)
downloadFreeBSD-src-c675f2ec8719164bb49bfaa2d7f39bb3604ec69b.zip
FreeBSD-src-c675f2ec8719164bb49bfaa2d7f39bb3604ec69b.tar.gz
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
Diffstat (limited to 'usr.bin/write')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud