crypto/evp/e_aes.c:2523: error: BUFFER_OVERRUN_L2
  Offset added: [2, 30] (⇐ [1, 15] + [1, 15]) Size: 16 by call to `CRYPTO_ocb128_setiv`.
Showing all 6 steps of the trace


crypto/evp/e_aes.c:2523:17: Call
2521.               iv = octx->iv;
2522.           if (iv) {
2523.               if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen)
                        ^
2524.                   != 1)
2525.                   return 0;

crypto/modes/ocb128.c:262:1: <Offset trace>
260.    * Set the IV to be used for this operation. Must be 1 - 15 bytes.
261.    */
262. > int CRYPTO_ocb128_setiv(OCB128_CONTEXT *ctx, const unsigned char *iv,
263.                           size_t len, size_t taglen)
264.   {

crypto/modes/ocb128.c:262:1: Parameter `len`
  260.    * Set the IV to be used for this operation. Must be 1 - 15 bytes.
  261.    */
  262. > int CRYPTO_ocb128_setiv(OCB128_CONTEXT *ctx, const unsigned char *iv,
  263.                           size_t len, size_t taglen)
  264.   {

crypto/modes/ocb128.c:262:1: <Length trace>
260.    * Set the IV to be used for this operation. Must be 1 - 15 bytes.
261.    */
262. > int CRYPTO_ocb128_setiv(OCB128_CONTEXT *ctx, const unsigned char *iv,
263.                           size_t len, size_t taglen)
264.   {

crypto/modes/ocb128.c:262:1: Array declaration
  260.    * Set the IV to be used for this operation. Must be 1 - 15 bytes.
  261.    */
  262. > int CRYPTO_ocb128_setiv(OCB128_CONTEXT *ctx, const unsigned char *iv,
  263.                           size_t len, size_t taglen)
  264.   {

crypto/modes/ocb128.c:280:5: Array access: Offset added: [2, 30] (⇐ [1, 15] + [1, 15]) Size: 16 by call to `CRYPTO_ocb128_setiv` 
  278.       nonce[0] = ((taglen * 8) % 128) << 1;
  279.       memset(nonce + 1, 0, 15);
  280.       memcpy(nonce + 16 - len, iv, len);
             ^
  281.       nonce[15 - len] |= 1;
  282.   
