Thread View: uk.general
1 messages
1 total messages
Started by Lee McLoughlin
Tue, 21 Aug 1984 00:10
Packet driver bug.
Author: 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.
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