ssl/record/ssl3_record.c:1376: error: BUFFER_OVERRUN_L2
  Offset added: [71-min(70, `ssl->s3.read_mac_secret_size`), `ssl->s3.read_mac_secret_size` + 123] (⇐ [64, 128] + [7-min(70, `ssl->s3.read_mac_secret_size`), `ssl->s3.read_mac_secret_size` - 5]) Size: 104 by call to `ssl3_cbc_digest_record`.
Showing all 8 steps of the trace


ssl/record/ssl3_record.c:1313:1: Array declaration
1311.   }
1312.   
1313. > int tls1_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int sending)
1314.   {
1315.       unsigned char *seq;

ssl/record/ssl3_record.c:1376:13: Call
1374.            */
1375.           /* Final param == not SSLv3 */
1376.           if (ssl3_cbc_digest_record(mac_ctx,
                    ^
1377.                                      md, &md_size,
1378.                                      header, rec->input,

ssl/s3_cbc.c:144:5: <Offset trace>
142.       void (*md_final_raw) (void *ctx, unsigned char *md_out);
143.       void (*md_transform) (void *ctx, const unsigned char *block);
144.       size_t md_size, md_block_size = 64;
           ^
145.       size_t sslv3_pad_length = 40, header_length, variance_blocks,
146.           len, max_mac_bytes, num_blocks,

ssl/s3_cbc.c:144:5: Assignment
  142.       void (*md_final_raw) (void *ctx, unsigned char *md_out);
  143.       void (*md_transform) (void *ctx, const unsigned char *block);
  144.       size_t md_size, md_block_size = 64;
             ^
  145.       size_t sslv3_pad_length = 40, header_length, variance_blocks,
  146.           len, max_mac_bytes, num_blocks,

ssl/s3_cbc.c:377:13: Assignment
  375.                   return 0;
  376.               }
  377.               overhang = header_length - md_block_size;
                     ^
  378.               md_transform(md_state.c, header);
  379.               memcpy(first_block, header + md_block_size, overhang);

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

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

ssl/s3_cbc.c:379:13: Array access: Offset added: [71-min(70, ssl->s3.read_mac_secret_size), ssl->s3.read_mac_secret_size + 123] (⇐ [64, 128] + [7-min(70, ssl->s3.read_mac_secret_size), ssl->s3.read_mac_secret_size - 5]) Size: 104 by call to `ssl3_cbc_digest_record` 
  377.               overhang = header_length - md_block_size;
  378.               md_transform(md_state.c, header);
  379.               memcpy(first_block, header + md_block_size, overhang);
                     ^
  380.               memcpy(first_block + overhang, data, md_block_size - overhang);
  381.               md_transform(md_state.c, first_block);
