| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The `SSLCopyPeerTrust` call can succeed but fail to return a trust object if it can't load the certificate chain and thus cannot check the validity of a certificate. This can lead to us calling `CFRelease` on a `NULL` trust object, causing a crash. Handle this by returning ECERTIFICATE.
| Back | FazBrowse Home | New Git URL |
The SSLCopyPeerTrust call can succeed but fail to return a trust
object if it can't load the certificate chain and thus cannot check the
validity of a certificate. This can lead to us calling CFRelease on a
NULL trust object, causing a crash.
Handle this by returning ECERTIFICATE.
This may or may not solve #3885 /cc @the-kenny