crypto/rand/drbg_ctr.c:339: error: INTEGER_OVERFLOW_L2
  (0 - [-oo, 32]):unsigned64 by call to `EVP_CipherUpdate`.
Showing all 10 steps of the trace


crypto/rand/drbg_ctr.c:308:8: Parameter `drbg->data.ctr.cipher->block_size`
306.   }
307.   
308.   __owur static int drbg_ctr_generate(RAND_DRBG *drbg,
              ^
309.                                       unsigned char *out, size_t outlen,
310.                                       const unsigned char *adin, size_t adinlen)

crypto/rand/drbg_ctr.c:339:14: Call
337.               break;
338.           }
339.           if (!EVP_CipherUpdate(ctr->ctx, out, &outl, ctr->V, AES_BLOCK_SIZE)
                    ^
340.               || outl != AES_BLOCK_SIZE)
341.               return 0;

crypto/evp/evp_enc.c:209:1: Parameter `ctx->cipher->block_size`
  207.   }
  208.   
  209. > int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
  210.                        const unsigned char *in, int inl)
  211.   {

crypto/evp/evp_enc.c:215:16: Call
  213.           return EVP_EncryptUpdate(ctx, out, outl, in, inl);
  214.       else
  215.           return EVP_DecryptUpdate(ctx, out, outl, in, inl);
                        ^
  216.   }
  217.   

crypto/evp/evp_enc.c:443:1: Parameter `ctx->cipher->block_size`
    441.   }
    442.   
    443. > int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
    444.                         const unsigned char *in, int inl)
    445.   {

crypto/evp/evp_enc.c:455:5: Assignment
    453.       }
    454.   
    455.       b = ctx->cipher->block_size;
               ^
    456.   
    457.       if (EVP_CIPHER_CTX_test_flags(ctx, EVP_CIPH_FLAG_LENGTH_BITS))

crypto/evp/evp_enc.c:488:16: Call
    486.           /* see comment about PTRDIFF_T comparison above */
    487.           if (((PTRDIFF_T)out == (PTRDIFF_T)in)
    488.               || is_partially_overlapping(out, in, b)) {
                          ^
    489.               EVPerr(EVP_F_EVP_DECRYPTUPDATE, EVP_R_PARTIALLY_OVERLAPPING);
    490.               return 0;

crypto/evp/evp_enc.c:283:1: <RHS trace>
281.   #endif
282.   
283. > int is_partially_overlapping(const void *ptr1, const void *ptr2, int len)
284.   {
285.       PTRDIFF_T diff = (PTRDIFF_T)ptr1-(PTRDIFF_T)ptr2;

crypto/evp/evp_enc.c:283:1: Parameter `len`
      281.   #endif
      282.   
      283. > int is_partially_overlapping(const void *ptr1, const void *ptr2, int len)
      284.   {
      285.       PTRDIFF_T diff = (PTRDIFF_T)ptr1-(PTRDIFF_T)ptr2;

crypto/evp/evp_enc.c:292:50: Binary operation: (0 - [-oo, 32]):unsigned64 by call to `EVP_CipherUpdate` 
      290.        */
      291.       int overlapped = (len > 0) & (diff != 0) & ((diff < (PTRDIFF_T)len) |
      292.                                                   (diff > (0 - (PTRDIFF_T)len)));
                                                              ^
      293.   
      294.       return overlapped;
