crypto/ec/ecx_meth.c:100: error: BUFFER_OVERRUN_L3
  Offset added: [32, 57] Size: [32, 57].
Showing all 12 steps of the trace


crypto/ec/ecx_meth.c:100:32: <Offset trace>
98.               }
99.           } else {
100.               memcpy(privkey, p, KEYLENID(id));
                                      ^
101.           }
102.           switch (id) {

crypto/ec/ecx_meth.c:100:32: Assignment
98.               }
99.           } else {
100.               memcpy(privkey, p, KEYLENID(id));
                                      ^
101.           }
102.           switch (id) {

crypto/ec/ecx_meth.c:80:34: <Length trace>
78.           memcpy(pubkey, p, plen);
79.       } else {
80.           privkey = key->privkey = OPENSSL_secure_malloc(KEYLENID(id));
                                       ^
81.           if (privkey == NULL) {
82.               ECerr(EC_F_ECX_KEY_OP, ERR_R_MALLOC_FAILURE);

crypto/ec/ecx_meth.c:80:34: Assignment
78.           memcpy(pubkey, p, plen);
79.       } else {
80.           privkey = key->privkey = OPENSSL_secure_malloc(KEYLENID(id));
                                       ^
81.           if (privkey == NULL) {
82.               ECerr(EC_F_ECX_KEY_OP, ERR_R_MALLOC_FAILURE);

crypto/ec/ecx_meth.c:80:34: Call
78.           memcpy(pubkey, p, plen);
79.       } else {
80.           privkey = key->privkey = OPENSSL_secure_malloc(KEYLENID(id));
                                       ^
81.           if (privkey == NULL) {
82.               ECerr(EC_F_ECX_KEY_OP, ERR_R_MALLOC_FAILURE);

crypto/mem_sec.c:114:1: Parameter `num`
  112.   }
  113.   
  114. > void *CRYPTO_secure_malloc(size_t num, const char *file, int line)
  115.   {
  116.   #ifdef OPENSSL_SECURE_MEMORY

crypto/mem_sec.c:121:16: Call
  119.   
  120.       if (!secure_mem_initialized) {
  121.           return CRYPTO_malloc(num, file, line);
                        ^
  122.       }
  123.       CRYPTO_THREAD_write_lock(sec_malloc_lock);

crypto/mem.c:201:9: Assignment
    199.   
    200.       if (num == 0)
    201.           return NULL;
                   ^
    202.   
    203.       FAILTEST();

crypto/mem_sec.c:121:9: Assignment
  119.   
  120.       if (!secure_mem_initialized) {
  121.           return CRYPTO_malloc(num, file, line);
                 ^
  122.       }
  123.       CRYPTO_THREAD_write_lock(sec_malloc_lock);

crypto/ec/ecx_meth.c:80:19: Assignment
78.           memcpy(pubkey, p, plen);
79.       } else {
80.           privkey = key->privkey = OPENSSL_secure_malloc(KEYLENID(id));
                        ^
81.           if (privkey == NULL) {
82.               ECerr(EC_F_ECX_KEY_OP, ERR_R_MALLOC_FAILURE);

crypto/ec/ecx_meth.c:80:9: Assignment
78.           memcpy(pubkey, p, plen);
79.       } else {
80.           privkey = key->privkey = OPENSSL_secure_malloc(KEYLENID(id));
              ^
81.           if (privkey == NULL) {
82.               ECerr(EC_F_ECX_KEY_OP, ERR_R_MALLOC_FAILURE);

crypto/ec/ecx_meth.c:100:13: Array access: Offset added: [32, 57] Size: [32, 57]
98.               }
99.           } else {
100.               memcpy(privkey, p, KEYLENID(id));
                   ^
101.           }
102.           switch (id) {
