[net.bugs.uucp] uuxqt core dumps

gorlick (04/06/83)

     This bug was found in 4.1bsd uuxqt.  I suspect it applies
to System III and V as well.
     The symptom is that uuxqt abends with a segmentation fault
leaving an empty `core' file behind in /usr/spool/uucp.
     The character array prm[MAXFULLNAME] in main() of uuxqt.c
is a scratch area for picking apart the components of the command
line in X. files.  Netnews articles have a command line of the
form
	rmail system1!system2!...!systemN!addressee
where the full usenet address may easily exceed 100 (MAXFULLNAME) characters.
It is the overrun of the array prm that eventually leads to the
segmentation fault.
     My solution was to substitute BUFSIZ for MAXFULLNAME in prm's
declaration.  Upping MAXFULLNAME in uucp.h will also work.

-Michael Gorlick-
{decvax, ucbvax}!trw-unix!gorlick