|
|
@ -359,9 +359,8 @@ inline std::unique_ptr<dsacache::CacheData> dsacache::Cache::GetFromCache(uint8_ |
|
|
|
if (search != cache_state_[dst_node].end()) { |
|
|
|
|
|
|
|
// now check whether the sizes match
|
|
|
|
// TODO: second.size_ >= size would also work
|
|
|
|
|
|
|
|
if (search->second.size_ == size) { |
|
|
|
if (search->second.size_ >= size) { |
|
|
|
std::cout << "[+] Found Cached version for 0x" << std::hex << (uint64_t)src << std::dec << std::endl; |
|
|
|
|
|
|
|
// return a unique copy of the entry which uses the object
|
|
|
|