ssl/ssl_lib.c:2658: error: BUFFER_OVERRUN_L2
  Offset: [0, 7] Size: 7.
Showing all 8 steps of the trace


ssl/ssl_lib.c:2651:9: <Offset trace>
2649.       ssl_set_masks(s, s->s3->tmp.new_cipher);
2650.   
2651.       i = ssl_get_server_cert_index(s);
                ^
2652.   
2653.       /* This may or may not be an error. */

ssl/ssl_lib.c:2651:9: Call
2649.       ssl_set_masks(s, s->s3->tmp.new_cipher);
2650.   
2651.       i = ssl_get_server_cert_index(s);
                ^
2652.   
2653.       /* This may or may not be an error. */

ssl/ssl_lib.c:2625:9: Assignment
  2623.       idx = ssl_cipher_get_cert_index(s->s3->tmp.new_cipher);
  2624.       if (idx == SSL_PKEY_RSA_ENC && !s->cert->pkeys[SSL_PKEY_RSA_ENC].x509)
  2625.           idx = SSL_PKEY_RSA_SIGN;
                  ^
  2626.       if (idx == SSL_PKEY_GOST_EC) {
  2627.           if (s->cert->pkeys[SSL_PKEY_GOST12_512].x509)

ssl/ssl_lib.c:2638:5: Assignment
  2636.       if (idx == -1)
  2637.           SSLerr(SSL_F_SSL_GET_SERVER_CERT_INDEX, ERR_R_INTERNAL_ERROR);
  2638.       return idx;
              ^
  2639.   }
  2640.   

ssl/ssl_lib.c:2651:5: Assignment
2649.       ssl_set_masks(s, s->s3->tmp.new_cipher);
2650.   
2651.       i = ssl_get_server_cert_index(s);
            ^
2652.   
2653.       /* This may or may not be an error. */

ssl/ssl_lib.c:2641:1: <Length trace>
2639.   }
2640.   
2641. > CERT_PKEY *ssl_get_server_send_pkey(SSL *s)
2642.   {
2643.       CERT *c;

ssl/ssl_lib.c:2641:1: Parameter `s->cert->pkeys[*]`
2639.   }
2640.   
2641. > CERT_PKEY *ssl_get_server_send_pkey(SSL *s)
2642.   {
2643.       CERT *c;

ssl/ssl_lib.c:2658:5: Array access: Offset: [0, 7] Size: 7
2656.   
2657.       /* May be NULL. */
2658.       return &c->pkeys[i];
            ^
2659.   }
2660.   
