rmail char array holding remote username is much too small
Sam Kendall
sam at delftcc.UUCP
Wed Mar 12 07:00:45 AEST 1986
Index: bin/rmail.c 4.2BSD +fix
Description:
The ufrom[] array, which holds the name of the remote user, is
only 64 characters long. This is much too little. Not only
might an actual username be longer than that, but also rmail's
idea of the username may include stuff like "@site.ARPA", making
the username even longer.
Repeat-By:
Receive a letter via UUCP from
remote!username...morethan63characters
where the "..." in "username...morethan63characters" is filled
in to make the username more than 63 characters. rmail will
dump core or mess up in some more subtle way.
Fix:
35c35
< char ufrom[64]; /* user on remote system */
---
> char ufrom[512];/* user on remote system */
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list