test/evp_test.c:1610: error: BUFFER_OVERRUN_L3
  Offset: [2, +oo] Size: [1, +oo] by call to `EVP_EncodeUpdate`.
Showing all 12 steps of the trace


test/evp_test.c:1590:1: Parameter `t->data->input_len`
1588.   }
1589.   
1590. > static int encode_test_run(struct evp_test *t)
1591.   {
1592.       struct encode_data *edata = t->data;

test/evp_test.c:1605:22: Call
1603.           if (encode_ctx == NULL)
1604.               goto err;
1605.           encode_out = OPENSSL_malloc(EVP_ENCODE_LENGTH(edata->input_len));
                             ^
1606.           if (encode_out == NULL)
1607.               goto err;

crypto/mem.c:125:9: Assignment
  123.   
  124.       if (num <= 0)
  125.           return NULL;
                 ^
  126.   
  127.       allow_customize = 0;

test/evp_test.c:1605:9: Assignment
1603.           if (encode_ctx == NULL)
1604.               goto err;
1605.           encode_out = OPENSSL_malloc(EVP_ENCODE_LENGTH(edata->input_len));
                ^
1606.           if (encode_out == NULL)
1607.               goto err;

test/evp_test.c:1610:9: Call
1608.   
1609.           EVP_EncodeInit(encode_ctx);
1610.           EVP_EncodeUpdate(encode_ctx, encode_out, &chunk_len,
                ^
1611.                            edata->input, edata->input_len);
1612.           output_len = chunk_len;

crypto/evp/encode.c:165:1: Parameter `*out`
  163.   }
  164.   
  165. > void EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
  166.                         const unsigned char *in, int inl)
  167.   {

crypto/evp/encode.c:185:13: Call
  183.           in += i;
  184.           inl -= i;
  185.           j = EVP_EncodeBlock(out, ctx->enc_data, ctx->length);
                     ^
  186.           ctx->num = 0;
  187.           out += j;

crypto/evp/encode.c:220:1: <Length trace>
218.   }
219.   
220. > int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int dlen)
221.   {
222.       int i, ret = 0;

crypto/evp/encode.c:220:1: Parameter `*t`
    218.   }
    219.   
    220. > int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int dlen)
    221.   {
    222.       int i, ret = 0;

crypto/evp/encode.c:229:15: Assignment
    227.               l = (((unsigned long)f[0]) << 16L) |
    228.                   (((unsigned long)f[1]) << 8L) | f[2];
    229.               *(t++) = conv_bin2ascii(l >> 18L);
                         ^
    230.               *(t++) = conv_bin2ascii(l >> 12L);
    231.               *(t++) = conv_bin2ascii(l >> 6L);

crypto/evp/encode.c:230:15: Assignment
    228.                   (((unsigned long)f[1]) << 8L) | f[2];
    229.               *(t++) = conv_bin2ascii(l >> 18L);
    230.               *(t++) = conv_bin2ascii(l >> 12L);
                         ^
    231.               *(t++) = conv_bin2ascii(l >> 6L);
    232.               *(t++) = conv_bin2ascii(l);

crypto/evp/encode.c:231:13: Array access: Offset: [2, +oo] Size: [1, +oo] by call to `EVP_EncodeUpdate` 
    229.               *(t++) = conv_bin2ascii(l >> 18L);
    230.               *(t++) = conv_bin2ascii(l >> 12L);
    231.               *(t++) = conv_bin2ascii(l >> 6L);
                       ^
    232.               *(t++) = conv_bin2ascii(l);
    233.           } else {
