ssl/record/ssl3_record.c:843: error: BUFFER_OVERRUN_L3
  Offset added: [-63, +oo] Size: 128 by call to `ssl3_cbc_digest_record`.
Showing all 12 steps of the trace


ssl/record/ssl3_record.c:784:1: Parameter `ssl->read_hash->digest->md_size`
782.   }
783.   
784. > int n_ssl3_mac(SSL *ssl, unsigned char *md, int send)
785.   {
786.       SSL3_RECORD *rec;

ssl/record/ssl3_record.c:807:9: Call
805.       }
806.   
807.       t = EVP_MD_CTX_size(hash);
               ^
808.       if (t < 0)
809.           return -1;

crypto/evp/evp_lib.c:276:9: Assignment
  274.       if (!md) {
  275.           EVPerr(EVP_F_EVP_MD_SIZE, EVP_R_MESSAGE_DIGEST_IS_NULL);
  276.           return -1;
                 ^
  277.       }
  278.       return md->md_size;

ssl/record/ssl3_record.c:807:5: Assignment
805.       }
806.   
807.       t = EVP_MD_CTX_size(hash);
           ^
808.       if (t < 0)
809.           return -1;

ssl/record/ssl3_record.c:810:5: Assignment
808.       if (t < 0)
809.           return -1;
810.       md_size = t;
           ^
811.       npad = (48 / md_size) * md_size;
812.   

ssl/record/ssl3_record.c:843:9: Call
841.   
842.           /* Final param == is SSLv3 */
843.           ssl3_cbc_digest_record(hash,
               ^
844.                                  md, &md_size,
845.                                  header, rec->input,

ssl/s3_cbc.c:192:5: <Offset trace>
190.       void (*md_final_raw) (void *ctx, unsigned char *md_out);
191.       void (*md_transform) (void *ctx, const unsigned char *block);
192.       unsigned md_size, md_block_size = 64;
           ^
193.       unsigned sslv3_pad_length = 40, header_length, variance_blocks,
194.           len, max_mac_bytes, num_blocks,

ssl/s3_cbc.c:192:5: Assignment
  190.       void (*md_final_raw) (void *ctx, unsigned char *md_out);
  191.       void (*md_transform) (void *ctx, const unsigned char *block);
  192.       unsigned md_size, md_block_size = 64;
             ^
  193.       unsigned sslv3_pad_length = 40, header_length, variance_blocks,
  194.           len, max_mac_bytes, num_blocks,

ssl/s3_cbc.c:415:13: Assignment
  413.                   return;
  414.               }
  415.               overhang = header_length - md_block_size;
                     ^
  416.               md_transform(md_state.c, header);
  417.               memcpy(first_block, header + md_block_size, overhang);

ssl/s3_cbc.c:176:1: <Length trace>
174.    * padding too. )
175.    */
176. > void ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
177.                               unsigned char *md_out,
178.                               size_t *md_out_size,

ssl/s3_cbc.c:176:1: Array declaration
  174.    * padding too. )
  175.    */
  176. > void ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
  177.                               unsigned char *md_out,
  178.                               size_t *md_out_size,

ssl/s3_cbc.c:417:13: Array access: Offset added: [-63, +oo] Size: 128 by call to `ssl3_cbc_digest_record` 
  415.               overhang = header_length - md_block_size;
  416.               md_transform(md_state.c, header);
  417.               memcpy(first_block, header + md_block_size, overhang);
                     ^
  418.               memcpy(first_block + overhang, data, md_block_size - overhang);
  419.               md_transform(md_state.c, first_block);
