Mercurial > illumos > illumos-gate
changeset 3958:a3a5c9bc5256 onnv_62
6512691 kssladm dumps core when given invalid input
author | krishna |
---|---|
date | Mon, 02 Apr 2007 22:01:43 -0700 |
parents | 86c9dda5df37 |
children | 9962881f8438 |
files | usr/src/lib/libkmf/plugins/kmf_openssl/common/openssl_spi.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/lib/libkmf/plugins/kmf_openssl/common/openssl_spi.c Mon Apr 02 21:38:04 2007 -0700 +++ b/usr/src/lib/libkmf/plugins/kmf_openssl/common/openssl_spi.c Mon Apr 02 22:01:43 2007 -0700 @@ -3682,7 +3682,7 @@ /*LINTED*/ while ((info = sk_X509_INFO_pop(x509_info_stack)) != NULL && - ncerts < MAX_CHAIN_LENGTH) { + info->x509 != NULL && ncerts < MAX_CHAIN_LENGTH) { cert_infos[ncerts] = info; ncerts++; }