[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Mon May 4 14:53:22 UTC 2015


The branch master has been updated
       via  23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617 (commit)
      from  b6d3cb543c2e91aa6820cde637db55ad1cee525f (commit)


- Log -----------------------------------------------------------------
commit 23b0fa5ab6b6b9f0a9350e24ac5ddb8275802617
Author: Rich Salz <rsalz at akamai.com>
Date:   Mon May 4 10:34:51 2015 -0400

    Fix cut/paste error
    
    Was memset with wrong sizeof.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/x509/x509_vpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c
index b9a9741..1d88f56 100644
--- a/crypto/x509/x509_vpm.c
+++ b/crypto/x509/x509_vpm.c
@@ -169,7 +169,7 @@ X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void)
         OPENSSL_free(param);
         return NULL;
     }
-    memset(param, 0, sizeof *paramid);
+    memset(param, 0, sizeof *param);
     memset(paramid, 0, sizeof *paramid);
     param->id = paramid;
     x509_verify_param_zero(param);


More information about the openssl-commits mailing list