From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 16 Sep 1997 14:00:25 -0500 From: G. David Butler gdb@dbSystems.com Subject: [9fans] Re: Bug in sysrendezvous? Topicbox-Message-UUID: 666e2da0-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19970916190025.d5kAXoktND2gGjdWsEhi7IjFr9PrxKeOFFj2swMi0OQ@z> From: "G. David Butler" >From: Amos Shapir >Date: Mon, 3 Jun 1996 09:59:36 -0400 >> >>The "tag" operand of rendezvous is defined as ulong; but in the >>function sysrendezvous (in sysproc.c), it's copied into an int, which >>is used as an index in a table by the REND macro. If I'm mistaken >>correctly, this means that if the tag is negative, the resulting >>pointer would point *outside* the table! >> [snip] >#define REND(p,s) ((p)->rendhash[(ulong)(s)%RENDHASH]) Well, I jumped the gun here. The fix was posted long ago with a declaration change in sysrendezvous() to a ulong. Sorry for the rehash :-).