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: 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 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!ukc!lmcl, west44!lee UKUUCP support.