[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5070) Issues in X.509 certificate parsing

Full_Name: Pierangelo Masarati
Version: HEAD/re24
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: ando

I've an issue with X.509 certificate parsing in HEAD/re24.  The certificate,
according to OpenSSL, has a SerialNumber c8:5b:9a:dd:ea:bf:f9:fa and HEAD fails
to parse it because it is an integer with length equal to 9, which is larger
than sizeof(ber_int_t), as tested in ber_getnint() at decode.c:254.  The DER
encoded value is:   2   9   0 200  91 154 221 234 191 249 250.  Seems to be time
to get past the sizeof(ber_int_t) limitation...