mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
fixed uninitialised memory read in rsgxsdataaccess.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7712 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a9c40bf1d8
commit
e2daec7134
@ -361,7 +361,8 @@ uint32_t RsGxsDataAccess::requestStatus(uint32_t token)
|
||||
if(mPublicToken.find(token) != mPublicToken.end())
|
||||
return mPublicToken[token];
|
||||
}
|
||||
checkRequestStatus(token, status, reqtype, anstype, ts);
|
||||
if(!checkRequestStatus(token, status, reqtype, anstype, ts))
|
||||
return RsTokenService::GXS_REQUEST_V2_STATUS_FAILED ;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user