ValidatorPolicyConfig segfaults when loading policy without assigning Validator instance
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 over 2 years ago
FYI. The specific error that triggered segfault of NFD was a result of dereferencing nullptr
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.