[mod.protocols.appletalk] CAP distribution 2: Bug report 2

cck%cucca@COLUMBIA.EDU (Charlie C. Kim) (07/30/86)

In abnet, abclose was attempting to use a variable after it was
"unset".  This resulted in a left shift of -1 when deallocating a
socket.  The effect was to render both ddpclose and abclose
destructive functions.  In combination with the patches sent out
before (to close unused sockets in children), this caused
multi-forking pap clients to malfunction.  The fix is quite simple -
transpose the last two lines in abclose.

In addition, the atp modules have been patched to: (a) look at bds
data a little closer for null data, (b) compute the next tid strictly
(cf. Inside Appletalk, June, 1986, Chapter VII, pp. 13-15).

The only remaining anticipated changes to ATP is to return "buffer
overflow errors" in support of ASP.

These patches are available via anonymous FTP from CU20B.COLUMBIA.EDU
(128.59.32.134) in the directory US:[us.cck.cap.d2] as cap.pat2.

Charlie C. Kim
User Services
Columbia University