[PATCH] Add additional validations based on X.690 rules
authorJeffrey Walton <noloader@gmail.com>
Sat, 24 Dec 2016 09:55:21 +0000 (04:55 -0500)
committerLaszlo Boszormenyi (GCS) <gcs@debian.org>
Tue, 27 Jun 2017 19:04:20 +0000 (20:04 +0100)
commitf51e0aeef14d63025bb3e6c99301d22388ea9eb4
tree0982710c999417e467c44fce6bc0f68dd0528496
parent9db6377af043c090176f6d7d55d211fe9adaa93b
[PATCH] Add additional validations based on X.690 rules

The library was a tad bit fast and loose with respect to parsing some of the ASN.1 presented to it. It was kind of like we used Alternate Encoding Rules (AER), which was more relaxed than BER, CER or DER. This commit closes most of the gaps.

The changes are distantly related to Issue 346. Issue 346 caught a CVE bcause of the transient DoS. These fixes did not surface with negative effcts. Rather, the library was a bit too accomodating to the point it was not conforming

Gbp-Pq: Name Additional_ASN.1_validations.patch
asn.cpp
asn.h