K 10 svn:author V 4 mike K 8 svn:date V 27 2001-08-17T06:25:38.000000Z K 7 svn:log V 596 MFC Rev 1.66: 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. MFC Rev 1.67: Fix some bogus strncpy(3) to strlcpy(3) changes I made in the previous revision. structures don't leave room for a NUL character. Also fix "UNKNOWN" which should have just been UNKNOWN. Approved by: murray END