Actions
Bug #3191
openonQueryResultsInterest does not handle cache miss
Start date:
09/08/2015
Due date:
% Done:
0%
Estimated time:
Description
auto data = m_cache.find(interest.getName());
will return nullptr
on a cache miss. The current code is missing an appropriate check and blindly attempts to put the dereferenced data.
There is also a FIXME comment that is no longer applicable.
Updated by Anonymous about 9 years ago
- Subject changed from onQueryResultsInterest InMemoryStorage access may return nullptr to onQueryResultsInterest does not handle cache miss
Updated by Anonymous about 9 years ago
Sorry, I flubbed this one.
The correct task description is that onQueryResultsInterest should do the right thing on cache miss. There is no bad nullptr access.
Actions