henry (06/02/82)
In gnamef.c, the final assignment to filename[NAMESIZE] should be to filename[NAMESIZE-1]. The original assignment stomps the first byte of whatever follows the array being set. Ghod only knows why this didn't cause trouble; I found it while investigating another problem.
salkind (06/02/82)
Note that this bug is NOT present in the 4bsd-distributed version of uucp. There the assignment is filename[DIRSIZ] = '\0'; Since all files passed to gnamef are of size NAMESIZE (15), and DIRSIZ is one byte smaller, the assignment has the desired effect of null terminating the filename. Forever watchful, Lou Salkind cmcl2!salkind