Project

General

Profile

Actions

Bug #3191

open

onQueryResultsInterest does not handle cache miss

Added by Anonymous over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
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.

Actions #1

Updated by Anonymous over 8 years ago

  • Subject changed from onQueryResultsInterest InMemoryStorage access may return nullptr to onQueryResultsInterest does not handle cache miss
Actions #2

Updated by Anonymous over 8 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

Also available in: Atom PDF