[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>
Mon, 5 Jun 2017 06:55:28 +0000 (07:55 +0100)
commit268f51b5ec87a97689721884f4d41e748784863d
tree80d677da060a4dcb344abc42674514e764d5307d
parent220caa8f1c66897aaf2e11a76cdb579e13c3e058
[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