ssl/record/ssl3_record.c:1454: error: BUFFER_OVERRUN_L2
  Offset added: [0, 17728] Size: 128 by call to `ssl3_cbc_copy_mac`.
Showing all 9 steps of the trace


ssl/record/ssl3_record.c:1358:1: Parameter `s->rlayer.rrec.length`
1356.   }
1357.   
1358. > int dtls1_process_record(SSL *s)
1359.   {
1360.       int i, al;

ssl/record/ssl3_record.c:1397:5: Assignment
1395.       /* decrypt in place in 'rr->input' */
1396.       rr->data = rr->input;
1397.       rr->orig_len = rr->length;
            ^
1398.   
1399.       enc_err = s->method->ssl3_enc->enc(s, rr, 1, 0);

ssl/record/ssl3_record.c:1454:13: Call
1452.                */
1453.               mac = mac_tmp;
1454.               ssl3_cbc_copy_mac(mac_tmp, rr, mac_size);
                    ^
1455.               rr->length -= mac_size;
1456.           } else {

ssl/record/ssl3_record.c:1281:1: <Offset trace>
1279.   #define CBC_MAC_ROTATE_IN_PLACE
1280.   
1281. > void ssl3_cbc_copy_mac(unsigned char *out,
1282.                          const SSL3_RECORD *rec, unsigned md_size)
1283.   {

ssl/record/ssl3_record.c:1281:1: Parameter `md_size`
  1279.   #define CBC_MAC_ROTATE_IN_PLACE
  1280.   
  1281. > void ssl3_cbc_copy_mac(unsigned char *out,
  1282.                          const SSL3_RECORD *rec, unsigned md_size)
  1283.   {

ssl/record/ssl3_record.c:1281:1: <Length trace>
1279.   #define CBC_MAC_ROTATE_IN_PLACE
1280.   
1281. > void ssl3_cbc_copy_mac(unsigned char *out,
1282.                          const SSL3_RECORD *rec, unsigned md_size)
1283.   {

ssl/record/ssl3_record.c:1281:1: Array declaration
  1279.   #define CBC_MAC_ROTATE_IN_PLACE
  1280.   
  1281. > void ssl3_cbc_copy_mac(unsigned char *out,
  1282.                          const SSL3_RECORD *rec, unsigned md_size)
  1283.   {

ssl/record/ssl3_record.c:1309:5: Assignment
  1307.   
  1308.   #if defined(CBC_MAC_ROTATE_IN_PLACE)
  1309.       rotated_mac = rotated_mac_buf + ((0 - (size_t)rotated_mac_buf) & 63);
              ^
  1310.   #endif
  1311.   

ssl/record/ssl3_record.c:1327:5: Array access: Offset added: [0, 17728] Size: 128 by call to `ssl3_cbc_copy_mac` 
  1325.       rotate_offset = (div_spoiler + mac_start - scan_start) % md_size;
  1326.   
  1327.       memset(rotated_mac, 0, md_size);
              ^
  1328.       for (i = scan_start, j = 0; i < rec->orig_len; i++) {
  1329.           unsigned char mac_started = constant_time_ge_8(i, mac_start);
