Article View: uk.general
Article #7Packet driver bug.
From: Lee McLoughlin
Date: Tue, 21 Aug 1984 00:10
Date: Tue, 21 Aug 1984 00:10
24 lines
1304 bytes
1304 bytes
The following bug appears to be in all the non-USG versions of the packet driver
used by uucp (I've used it for other things, am I alone in this?).
I believe the following will prevent those unsightly core dumps from
occasionally being generated by uucico:
pk1.c:222 Move the line containing "*bp" *AFTER* the test to see if its null.
--------------------------
if (k && pksizes[k] == pk->p_rsize) {
pk->p_rpr = h->cntl & MOD8;
pksack(pk);
Connodata = 0;
bp = pk->p_ipool;
if (bp == NULL) {
PKDEBUG(7, "bp NULL %s\n", "");
return;
}
pk->p_ipool = (char **) *bp; /* LMCL: Now after the null test */
}
-------------------------
--
--------------
Lee McLoughlin <UK>!ukc!lmcl, west44!lee
UKUUCP support.
Technical Details
Message-ID:
<302@west44.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!ukc!west44!leeShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site west44.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!ukc!west44!lee From: lee@west44.UUCP (Lee McLoughlin) Newsgroups: uk.general,net.bugs.uucp,net.unix-wizards Subject: Packet driver bug. Message-ID: <302@west44.UUCP> Date: Mon, 20-Aug-84 20:10:07 EDT Article-I.D.: west44.302 Posted: Mon Aug 20 20:10:07 1984 Date-Received: Tue, 21-Aug-84 00:52:38 EDT Organization: CS Dept., Westfield College, London Lines: 24