🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #27

Bug in uuxqt

#27
From: utzoodecvaxharpofloydcmcl2salkin...
Date: Tue, 01 Jun 1982 20:08
22 lines
1108 bytes
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
Technical Details
Message-ID: <bnews.cmcl2.3415>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: utzoo!decvax!harpo!floyd!cmcl2!salkind
Newsgroups: net.bugs,net.bugs.4bsd
Title: Bug in uuxqt
Article-I.D.: cmcl2.3415
Posted: Tue Jun  1 20:08:05 1982
Received: Wed Jun  2 02:57:51 1982
Subject: Bug in uuxqt
Date: Tue, 01 Jun 1982 20:08:05 +0000
Message-ID: <bnews.cmcl2.3415>