mtrojnar / osslsigncode

OpenSSL based Authenticode signing for PE/MSI/Java CAB files
Other
806 stars 131 forks source link

fix crl nullptr crash in read_certfile #83

Closed egonk closed 3 years ago

egonk commented 3 years ago

I tested with an old expired production cert, decodes to p7->d.sign->crl == NULL. I can't attach the cert here but tell me if you need more info.

mtrojnar commented 3 years ago

I confimed that cparams->crls is initialized if the newly introduced condition is false. The PR looks good.