mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
DEVEL15-nulluuid-check-only-valid-input-20080224
LICENSE IPL10 as reported by jhutz@cmu.edu (cherry picked from commit 27dc7b13aa6356ba76916e47c6ddb48aa4b99846)
This commit is contained in:
parent
a25822b409
commit
e1e3660336
@ -1485,7 +1485,7 @@ h_GetHost_r(struct rx_connection *tcon)
|
||||
cb_conn=NULL;
|
||||
H_LOCK;
|
||||
if ((code == RXGEN_OPCODE) ||
|
||||
(afs_uuid_equal(&interf.uuid, &nulluuid))) {
|
||||
((code == 0) && (afs_uuid_equal(&interf.uuid, &nulluuid)))) {
|
||||
identP = (struct Identity *)malloc(sizeof(struct Identity));
|
||||
if (!identP) {
|
||||
ViceLog(0, ("Failed malloc in h_GetHost_r\n"));
|
||||
@ -1617,7 +1617,7 @@ h_GetHost_r(struct rx_connection *tcon)
|
||||
cb_conn=NULL;
|
||||
H_LOCK;
|
||||
if ((code == RXGEN_OPCODE) ||
|
||||
afs_uuid_equal(&interf.uuid, &nulluuid)) {
|
||||
((code == 0) && (afs_uuid_equal(&interf.uuid, &nulluuid)))) {
|
||||
if (!identP)
|
||||
identP =
|
||||
(struct Identity *)malloc(sizeof(struct Identity));
|
||||
|
Loading…
x
Reference in New Issue
Block a user