Actions
Bug #4758
closedValidatorPolicyConfig segfaults when loading policy without assigning Validator instance
Start date:
10/17/2018
Due date:
% Done:
100%
Estimated time:
Tags:
Description
ValidatorPolicyConfig cannot be used by itself and requires Validator instance to be assigned prior loading any policy. At least, the implementation should throw a proper error.
Updated by Alex Afanasyev about 6 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Alex Afanasyev about 6 years ago
FYI. The specific error that triggered segfault of NFD was a result of dereferencing nullptr m_validator
in ValidatorPolicyConfig::processConfigTrustAnchor
method, i.e., if security section includes real trust anchor(s) (as opposite to have "any" trust anchor). If by some magic it would not have segfaulted there, it would whenever config is being reloaded.
Updated by Alex Afanasyev about 6 years ago
- Status changed from Code review to Closed
Actions