mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
STABLE12-h-gethost-r-race-20030401
FIXES 1308
avoid deref of identP when code is -1
(cherry picked from commit f40a6356f7
)
This commit is contained in:
parent
dcbfb6a781
commit
14659f5ccc
@ -1101,6 +1101,7 @@ retry:
|
||||
else
|
||||
pident = 1;
|
||||
identP->valid = 1;
|
||||
interfValid = 1;
|
||||
identP->uuid = interf.uuid;
|
||||
if (!pident)
|
||||
rx_SetSpecific(tcon, rxcon_ident_key, identP);
|
||||
@ -1108,7 +1109,6 @@ retry:
|
||||
afs_inet_ntoa_r(host->host, hoststr),
|
||||
ntohs(host->port)));
|
||||
}
|
||||
interfValid=identP->valid;
|
||||
if (code == 0 && !identP->valid) {
|
||||
H_UNLOCK
|
||||
code = RXAFSCB_InitCallBackState(host->callback_rxcon);
|
||||
|
Loading…
Reference in New Issue
Block a user