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:23:46 +0000 (15:23 +0100)
commitc4b16ddc8f3429408f0244f6e66e9a4237f4da59
treee1f9545eee3a9b15a41938c9c7a386fb6d0c4306
parentdeb3b08ff272246a01d5bae1e15e966bc7834602
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