crypto/bn/bn_sqrt.c:143: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_rshift`.
Showing all 9 steps of the trace


crypto/bn/bn_sqrt.c:110:9: Call
108.   
109.       BN_CTX_start(ctx);
110.       A = BN_CTX_get(ctx);
               ^
111.       b = BN_CTX_get(ctx);
112.       q = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:284:5: Call
  282.       }
  283.       /* OK, make sure the returned bignum is "zero" */
  284.       BN_zero(ret);
             ^
  285.       ctx->used++;
  286.       CTXDBG_RET(ctx, ret);

crypto/bn/bn_lib.c:530:1: Parameter `*a->d`
    528.   }
    529.   
    530. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    531.   {
    532.       bn_check_top(a);

crypto/bn/bn_sqrt.c:143:14: Call
141.            * so we can use exponent  (|p|+1)/4,  i.e.  (|p|-3)/4 + 1.
142.            */
143.           if (!BN_rshift(q, p, 2))
                    ^
144.               goto end;
145.           q->neg = 0;

crypto/bn/bn_shift.c:169:1: Parameter `*r->d`
  167.   }
  168.   
  169. > int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
  170.   {
  171.       int i, j, nw, lb, rb;

crypto/bn/bn_shift.c:187:9: Call
  185.       lb = BN_BITS2 - rb;
  186.       if (nw >= a->top || a->top == 0) {
  187.           BN_zero(r);
                 ^
  188.           return (1);
  189.       }

crypto/bn/bn_lib.c:530:1: <Length trace>
528.   }
529.   
530. > int BN_set_word(BIGNUM *a, BN_ULONG w)
531.   {
532.       bn_check_top(a);

crypto/bn/bn_lib.c:530:1: Parameter `*a->d`
    528.   }
    529.   
    530. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    531.   {
    532.       bn_check_top(a);

crypto/bn/bn_lib.c:536:5: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_rshift` 
    534.           return (0);
    535.       a->neg = 0;
    536.       a->d[0] = w;
               ^
    537.       a->top = (w ? 1 : 0);
    538.       bn_check_top(a);
