🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by utzoohenry Mon, 13 Jul 1981 21:59
uucp bugs
#22
Author: utzoohenry
Date: Mon, 13 Jul 1981 21:59
22 lines
1113 bytes
In the distributed V7 uucp, uucp/chkpth.c/rdpth() has three separate bugs:

1. Chaos and madness will ensue if there are more than 15 entries in the
	USERFILE, because the Upt table has been misdeclared so that its
	overflow check is against the wrong number.  Fix:  change the
	"15" in the declaration of Upt (about line 16) to "MAXUSERS".

2. Chaos and madness may ensue if there is no comma in the first field of
	a USERFILE line.  Fix:  change the line (about line 130)
		pc = u + strlen(u->us_lname);
	to
		pc = us->us_lname + strlen(u->us_lname);

3. Any transfer request from a site with an 8-character (or longer)
	system name will fail, giving PERMISSION (DENIED).  Unlike
	all other uucp routines, rdpth is not truncating the system names
	it reads from USERFILE to 7 characters max length.  Fix:  after
	the line (about line 131):
		u->us_mname = pc;
	add:
		if (strlen(u->us_mname) > 7)
			u->us_mname[7] = '\0';
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads