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:21:37 +0000 (15:21 +0100)
commit83fe7b9c8321d5ffb6bfe67df85ed66ceb97102f
tree43c36f27c8f8e312cddad2b0579554254a482c41
parent97654d7e28e2ea833a739a2dcd464a0cd726392d
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