ssl/record/ssl3_record.c:1038: error: BUFFER_OVERRUN_L2
  Offset: [-oo, `ssl->s3->read_mac_secret_size` + 58] Size: 13 by call to `ssl3_cbc_digest_record`.
Showing all 7 steps of the trace


ssl/record/ssl3_record.c:978:1: Array declaration
976.   }
977.   
978. > int tls1_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send)
979.   {
980.       unsigned char *seq;

ssl/record/ssl3_record.c:1038:13: Call
1036.            */
1037.           /* Final param == not SSLv3 */
1038.           if (ssl3_cbc_digest_record(mac_ctx,
                    ^
1039.                                      md, &md_size,
1040.                                      header, rec->input,

ssl/s3_cbc.c:129:1: <Offset trace>
127.    * Returns 1 on success or 0 on error
128.    */
129. > int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
130.                              unsigned char *md_out,
131.                              size_t *md_out_size,

ssl/s3_cbc.c:129:1: Parameter `data_plus_mac_plus_padding_size`
  127.    * Returns 1 on success or 0 on error
  128.    */
  129. > int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
  130.                              unsigned char *md_out,
  131.                              size_t *md_out_size,

ssl/s3_cbc.c:129:1: <Length trace>
127.    * Returns 1 on success or 0 on error
128.    */
129. > int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
130.                              unsigned char *md_out,
131.                              size_t *md_out_size,

ssl/s3_cbc.c:129:1: Parameter `*header`
  127.    * Returns 1 on success or 0 on error
  128.    */
  129. > int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
  130.                              unsigned char *md_out,
  131.                              size_t *md_out_size,

ssl/s3_cbc.c:408:21: Array access: Offset: [-oo, ssl->s3->read_mac_secret_size + 58] Size: 13 by call to `ssl3_cbc_digest_record` 
  406.               unsigned char b = 0, is_past_c, is_past_cp1;
  407.               if (k < header_length)
  408.                   b = header[k];
                             ^
  409.               else if (k < data_plus_mac_plus_padding_size + header_length)
  410.                   b = data[k - header_length];
