NICMx / FORT-validator

RPKI cache validator
MIT License
47 stars 22 forks source link

Make sure d2i_X509() consumed all data #108

Closed job closed 5 months ago

job commented 5 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.