crypto/modes/ccm128.c:66: error: BUFFER_OVERRUN_L3
  Offset added: 16 Size: [0, +oo].
Showing all 3 steps of the trace


crypto/modes/ccm128.c:63:1: <Length trace>
61.   /* First you setup M and L parameters and pass the key schedule.
62.    * This is called once per session setup... */
63. > void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx,
64.   	unsigned int M,unsigned int L,void *key,block128_f block)
65.   {

crypto/modes/ccm128.c:63:1: Parameter `ctx->nonce.c[*]`
61.   /* First you setup M and L parameters and pass the key schedule.
62.    * This is called once per session setup... */
63. > void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx,
64.   	unsigned int M,unsigned int L,void *key,block128_f block)
65.   {

crypto/modes/ccm128.c:66:2: Array access: Offset added: 16 Size: [0, +oo]
64.   	unsigned int M,unsigned int L,void *key,block128_f block)
65.   {
66.   	memset(ctx->nonce.c,0,sizeof(ctx->nonce.c));
       ^
67.   	ctx->nonce.c[0] = ((u8)(L-1)&7) | (u8)(((M-2)/2)&7)<<3;
68.   	ctx->blocks = 0;
