Windows: Protect against null serverp in cm_Analyze
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 20 Sep 2009 15:04:07 +0000 (11:04 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Sun, 20 Sep 2009 15:09:17 +0000 (08:09 -0700)
commit65d1d94634c2d31aeecf1c512828a1bcbd93bbe5
treee2d6d4f3b0a45b7a87670432045e51ac84c9c427
parent427b27a87fd34035f855ff8b1b9ec3ad618829c8
Windows: Protect against null serverp in cm_Analyze

If cm_Analyze is called with both 'serverp' and 'connp' set
to NULL and an RX error is provided, a null pointer dereference
will occur.  Test for non-NULL serverp before dereferencing

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/472
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_conn.c