Commit 1b4cf96f authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Zero newly allocated points



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent aedc37e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -594,7 +594,7 @@ EC_POINT *EC_POINT_new(const EC_GROUP *group)
        return NULL;
    }

    ret = OPENSSL_malloc(sizeof(*ret));
    ret = OPENSSL_zalloc(sizeof(*ret));
    if (ret == NULL) {
        ECerr(EC_F_EC_POINT_NEW, ERR_R_MALLOC_FAILURE);
        return NULL;