NICMx / FORT-validator

RPKI cache validator
MIT License
51 stars 24 forks source link

Make sure d2i_X509() consumed all data #108

Closed job closed 9 months ago

job commented 9 months ago

An artefact of d2i_*() functions is that once they're satisfied, there still might be trailing garbage in the field that's being decoded.

Callers of d2i_*() functions generally should confirm that all data has been consumed.