x509/by_dir.c: fix run-away pointer (and potential SEGV)
authorAndy Polyakov <appro@openssl.org>
Mon, 24 Feb 2014 14:16:56 +0000 (15:16 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 24 Feb 2014 14:24:14 +0000 (15:24 +0100)
commit4f5b7a76dab612b6b7f5ef94fff2a6a8b1a04219
tree0d522dd6968f0df9fbf581c1f00997973d033552
parent8fe4d5bedb5c0786277a9dd40423ca011976c49e
x509/by_dir.c: fix run-away pointer (and potential SEGV)
when adding duplicates in add_cert_dir.

PR: 3261
Reported by: Marian Done
(cherry picked from commit 758954e0d8232d370ed72b7f86640e40443e1778)
crypto/x509/by_dir.c