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

Re: (ITS#7746) adding weird cert crashes slapd



michael@stroeder.com wrote:
> Full_Name:
> Version: 2.4.37
> OS: Debian Squeeze
> URL:
> Submission from: (NULL) (212.227.35.93)
>
>
> Adding the following weird test cert to attribute 'userCertificate' of an
> existing entry crashed slapd. I will provide more details later if needed.
>
> -----BEGIN CERTIFICATE-----
> MIIBfjCCASSgAwIBAgIBATAKBggqhkjOPQQDAjAAMB4XDTEzMTExNDA4NTgzNloX
> DTEzMTIxNDA4NTgzNlowADBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCaMbYk9
> kWfPT3gEKoIlQD6FPT+ea3PeB91l4c6reksafBuzWqG6tjZ9JhGf/AZNQEPhuaBg
> KvppUO+AVpZXls6jgY4wgYswCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcD
> AQYIKwYBBQUHAwIwHQYDVR0OBBYEFFh0Ssh8tqESHytVtEPHU1IoTSmbMCgGA1Ud
> IwQhMB+AFFh0Ssh8tqESHytVtEPHU1IoTSmboQSkAjAAggEBMBYGA1UdEQQPMA2C
> C2V4YW1wbGUuY29tMAoGCCqGSM49BAMCA0gAMEUCICZVDrN0xlLkOv8odyXQASYy
> Vy68ynjW3vZQndia3gQSAiEAvOn2JZEJmlfwPr3EglREs8CnXeqYfREqYfIfVufC
> 0zM=
> -----END CERTIFICATE-----
>
>
This cert has a 0-length issuerDN. Didn't think that was allowed, but anyway, 
fixed now in master.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/