David Benjamin d87021d246 Fix length checks in X509_cmp_time to avoid out-of-bounds reads.
Also tighten X509_cmp_time to reject more than three fractional
seconds in the time; and to reject trailing garbage after the offset.

CVE-2015-1789

(Imported from upstream's 9bc3665ac9e3c36f7762acd3691e1115d250b030)

Change-Id: I2091b2d1b691c177d58dc7960e2e7eb4c97b1f69
Reviewed-on: https://boringssl-review.googlesource.com/5124
Reviewed-by: Adam Langley <agl@google.com>
2015-06-16 19:07:15 +00:00
..
2015-02-02 19:14:15 +00:00
2014-06-20 13:17:32 -07:00
2015-02-11 23:11:55 +00:00
2014-11-06 01:34:33 +00:00
2014-06-20 13:17:32 -07:00
2015-02-02 19:14:15 +00:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00
2015-02-02 19:14:15 +00:00
2014-06-20 13:17:32 -07:00
2015-03-06 18:55:32 +00:00
2014-11-10 13:45:32 -08:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00
2015-02-02 19:14:15 +00:00
2014-06-20 13:17:32 -07:00
2015-02-02 19:14:15 +00:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00
2015-05-20 19:18:30 +00:00
2014-06-20 13:17:32 -07:00
2015-05-20 19:15:26 +00:00
2015-02-10 01:23:34 +00:00
2015-05-20 19:15:26 +00:00
2015-05-20 19:18:30 +00:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00
2014-06-20 13:17:32 -07:00