crypto/modes/cfb128.c:236: error: BUFFER_OVERRUN_L2
  Offset: [0, 15] Size: 1 by call to `cfbr_encrypt_block`.
Showing all 7 steps of the trace


crypto/modes/cfb128.c:223:1: Array declaration
221.   
222.   /* N.B. This expects the input to be packed, MS bit first */
223. > void CRYPTO_cfb128_1_encrypt(const unsigned char *in, unsigned char *out,
224.                                size_t bits, const void *key,
225.                                unsigned char ivec[16], int *num,

crypto/modes/cfb128.c:236:9: Call
234.       for (n = 0; n < bits; ++n) {
235.           c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0;
236.           cfbr_encrypt_block(c, d, 1, key, ivec, enc, block);
               ^
237.           out[n / 8] = (out[n / 8] & ~(1 << (unsigned int)(7 - n % 8))) |
238.               ((d[0] & 0x80) >> (unsigned int)(n % 8));

crypto/modes/cfb128.c:205:14: <Offset trace>
203.       num = (nbits + 7) / 8;
204.       if (enc)                    /* encrypt the input */
205.           for (n = 0; n < num; ++n)
                    ^
206.               out[n] = (ovec[16 + n] = in[n] ^ ivec[n]);
207.       else                        /* decrypt the input */

crypto/modes/cfb128.c:205:14: Assignment
  203.       num = (nbits + 7) / 8;
  204.       if (enc)                    /* encrypt the input */
  205.           for (n = 0; n < num; ++n)
                      ^
  206.               out[n] = (ovec[16 + n] = in[n] ^ ivec[n]);
  207.       else                        /* decrypt the input */

crypto/modes/cfb128.c:187:1: <Length trace>
185.    * it corrupts any extra bits in the last byte of out
186.    */
187. > static void cfbr_encrypt_block(const unsigned char *in, unsigned char *out,
188.                                  int nbits, const void *key,
189.                                  unsigned char ivec[16], int enc,

crypto/modes/cfb128.c:187:1: Parameter `*out`
  185.    * it corrupts any extra bits in the last byte of out
  186.    */
  187. > static void cfbr_encrypt_block(const unsigned char *in, unsigned char *out,
  188.                                  int nbits, const void *key,
  189.                                  unsigned char ivec[16], int enc,

crypto/modes/cfb128.c:206:13: Array access: Offset: [0, 15] Size: 1 by call to `cfbr_encrypt_block` 
  204.       if (enc)                    /* encrypt the input */
  205.           for (n = 0; n < num; ++n)
  206.               out[n] = (ovec[16 + n] = in[n] ^ ivec[n]);
                     ^
  207.       else                        /* decrypt the input */
  208.           for (n = 0; n < num; ++n)
