test/ec_internal_test.c:34: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_is_one`.
Showing all 11 steps of the trace


test/ec_internal_test.c:29:9: Call
27.   
28.       BN_CTX_start(ctx);
29.       a = BN_CTX_get(ctx);
              ^
30.       b = BN_CTX_get(ctx);
31.       if (!TEST_ptr(c = BN_CTX_get(ctx))

crypto/bn/bn_ctx.c:229:5: Call
  227.       }
  228.       /* OK, make sure the returned bignum is "zero" */
  229.       BN_zero(ret);
             ^
  230.       /* clear BN_FLG_CONSTTIME if leaked from previous frames */
  231.       ret->flags &= (~BN_FLG_CONSTTIME);

crypto/bn/bn_lib.c:359:1: Parameter `*a->d`
    357.   }
    358.   
    359. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    360.   {
    361.       bn_check_top(a);

crypto/bn/bn_lib.c:362:9: Call
    360.   {
    361.       bn_check_top(a);
    362.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    363.           return 0;
    364.       a->neg = 0;

crypto/bn/bn_lcl.h:660:1: Parameter `*a->d`
      658.                            const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
      659.   
      660. > static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
      661.   {
      662.       if (bits > (INT_MAX - BN_BITS2 + 1))

test/ec_internal_test.c:34:13: Call
32.           /* 1/1 = 1 */
33.           || !TEST_true(group->meth->field_inv(group, b, BN_value_one(), ctx))
34.           || !TEST_true(BN_is_one(b))
                  ^
35.           /* (1/a)*a = 1 */
36.           || !TEST_true(BN_pseudo_rand(a, BN_num_bits(group->field) - 1,

crypto/bn/bn_lib.c:848:1: Parameter `*a->d`
  846.   }
  847.   
  848. > int BN_is_one(const BIGNUM *a)
  849.   {
  850.       return BN_abs_is_word(a, 1) && !a->neg;

crypto/bn/bn_lib.c:850:12: Call
  848.   int BN_is_one(const BIGNUM *a)
  849.   {
  850.       return BN_abs_is_word(a, 1) && !a->neg;
                    ^
  851.   }
  852.   

crypto/bn/bn_lib.c:838:1: <Length trace>
836.   }
837.   
838. > int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
839.   {
840.       return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0));

crypto/bn/bn_lib.c:838:1: Parameter `*a->d`
    836.   }
    837.   
    838. > int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
    839.   {
    840.       return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0));

crypto/bn/bn_lib.c:840:31: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_is_one` 
    838.   int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
    839.   {
    840.       return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0));
                                         ^
    841.   }
    842.   
