https://code.google.com/p/chromium/codesearch#chromium/src/net/cert/x509_cert_types.cc&rcl=1460128611&l=74
------------------
valid &= exploded.HasValidValues();
if (!valid)
return false;
*time = base::Time::FromUTCExploded(exploded);
return true;
------------------
The problem in the above is that base::Time::FromUTCExploded() can fail even though |exploded.HasValidValues()| returned true.
The Windows implementation for instance will return Time(0) in this case.
This would be bad in the context of say parsing a notBefore constraint, since caller might imagine it is valid before it really is.
Comment 1 by rsleevi@chromium.org
, Apr 8 2016Status: Available (was: Untriaged)