diff options
author | Yannick CANN <yannick.cann@sagem.com> | 2016-10-06 15:40:47 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-10-06 18:08:51 +0200 |
commit | 5f97b735549f9ff9719a64074da4282872e23156 (patch) | |
tree | 5b449a06aedd786bfbf7a48bfae1ab9c449712f9 /src/libstrongswan/plugins/revocation/revocation_validator.c | |
parent | bd815325a6c60386ebbd613d43398450411d11eb (diff) | |
download | strongswan-5f97b735549f9ff9719a64074da4282872e23156.tar.bz2 strongswan-5f97b735549f9ff9719a64074da4282872e23156.tar.xz |
ldap: Fix crash in case of empty LDAP response for CRL fetch
In case of an empty LDAP result during a CRL fetch (for example, due to
a wrong filter attribute in the LDAP URI, or invalid LDAP configuration),
the call to ldap_result2error() with NULL value for "entry" lead to
a crash.
Closes strongswan/strongswan#52.
Diffstat (limited to 'src/libstrongswan/plugins/revocation/revocation_validator.c')
0 files changed, 0 insertions, 0 deletions