mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-02-10 05:30:14 +00:00
Addressed IOActive issues
This commit is contained in:
@@ -814,10 +814,14 @@ __EXPORT_TYPE int ILibSimpleDataStore_GetEx(ILibSimpleDataStore dataStore, char*
|
||||
|
||||
return(centry->valueLength);
|
||||
}
|
||||
else
|
||||
else if(buffer == NULL)
|
||||
{
|
||||
return(centry->valueLength);
|
||||
}
|
||||
else
|
||||
{
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -869,7 +873,8 @@ __EXPORT_TYPE int ILibSimpleDataStore_GetEx(ILibSimpleDataStore dataStore, char*
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
return entry->valueLength;
|
||||
|
||||
return(buffer == NULL ? entry->valueLength : 0);
|
||||
}
|
||||
|
||||
// Get the reference to the SHA384 hash value from the datastore for a given a key.
|
||||
|
||||
Reference in New Issue
Block a user