Bug in uuxqt

utzoo!decvax!harpo!floyd!cmcl2!salkind utzoo!decvax!harpo!floyd!cmcl2!salkind
Tue Jun 1 20:08:05 AEST 1982


This bug may have been reported earlier, but I since I don't recall
seeing it and it is fairly serious I am reporting it here.

In uuxqt, the size of the array prm is set to MAXFULLNAME.  On typical
systems this is about 100 characters.  The other day I had some
usenet mail pass through my system with an address bigger than that;
uuxqt promptly dumped core.

I didn't notice the problem until a day later; I wondered why I hadn't seen
any news lately.  The reason: the file with the large pathname occupied the
first open slot in the spool directory so uuxqt always processed this file
first.

The fix is simple.  Just increase the size of the prm array.  The diff:

51c51
> 	char *cmdp, prm[BUFSIZ], *ptr;
---
< 	char *cmdp, prm[MAXFULLNAME], *ptr;

						Lou Salkind
						cmcl2!salkind



More information about the Comp.bugs.4bsd.ucb-fixes mailing list