From: Jeffrey Altman Date: Tue, 8 Jan 2008 21:26:46 +0000 (+0000) Subject: windows-callback-missing-bang-20080108 X-Git-Tag: BP-openafs-windows-kdfs-ifs~219 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=69c9ab66a41236e987b44af9a3cb141adb1c2817;p=packages%2Fo%2Fopenafs.git windows-callback-missing-bang-20080108 LICENSE MIT Insert a missing bang that results in a null pointer dereference when processing a callback from an unrecognized server. --- diff --git a/src/WINNT/afsd/cm_callback.c b/src/WINNT/afsd/cm_callback.c index 2212359c7..baf23b226 100644 --- a/src/WINNT/afsd/cm_callback.c +++ b/src/WINNT/afsd/cm_callback.c @@ -367,7 +367,7 @@ SRXAFSCB_CallBack(struct rx_call *callp, AFSCBFids *fidsArrayp, AFSCBs *cbsArray if (tsp) cellp = tsp->cellp; - if (cellp) + if (!cellp) osi_Log2(afsd_logp, "SRXAFSCB_CallBack from host 0x%x port %d", ntohl(host), ntohs(port));