test/ectest.c:192: error: BUFFER_OVERRUN_L3
  Offset added: [8, +oo] Size: [0, 536870848] by call to `EC_POINT_set_compressed_coordinates_GFp`.
Showing all 18 steps of the trace


test/ectest.c:153:13: Call
151.           || !TEST_ptr(a = BN_new())
152.           || !TEST_ptr(b = BN_new())
153.           || !TEST_true(BN_hex2bn(&p, "17"))
                   ^
154.           || !TEST_true(BN_hex2bn(&a, "1"))
155.           || !TEST_true(BN_hex2bn(&b, "1"))

crypto/bn/bn_print.c:126:1: Parameter `(*bn)->top`
  124.   }
  125.   
  126. > int BN_hex2bn(BIGNUM **bn, const char *a)
  127.   {
  128.       BIGNUM *ret = NULL;

test/ectest.c:192:13: Call
190.           || !TEST_ptr(yplusone = BN_new())
191.           || !TEST_true(BN_hex2bn(&x, "D"))
192.           || !TEST_true(EC_POINT_set_compressed_coordinates_GFp(group, Q, x, 1,
                   ^
193.                                                                 ctx)))
194.           goto err;

crypto/ec/ec_oct.c:18:1: Parameter `x->top`
  16.   #include "ec_lcl.h"
  17.   
  18. > int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
  19.                                               EC_POINT *point, const BIGNUM *x,
  20.                                               int y_bit, BN_CTX *ctx)

crypto/ec/ec_oct.c:35:20: Call
  33.       if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) {
  34.           if (group->meth->field_type == NID_X9_62_prime_field)
  35.               return ec_GFp_simple_set_compressed_coordinates(group, point, x,
                           ^
  36.                                                               y_bit, ctx);
  37.           else

crypto/ec/ecp_oct.c:16:1: Parameter `x_->top`
    14.   #include "ec_lcl.h"
    15.   
    16. > int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group,
    17.                                                EC_POINT *point,
    18.                                                const BIGNUM *x_, int y_bit,

crypto/ec/ecp_oct.c:51:10: Call
    49.   
    50.       /* tmp1 := x^3 */
    51.       if (!BN_nnmod(x, x_, group->field, ctx))
                   ^
    52.           goto err;
    53.       if (group->meth->field_decode == 0) {

crypto/bn/bn_mod.c:13:1: Parameter `*r->d`
      11.   #include "bn_lcl.h"
      12.   
      13. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
      14.   {
      15.       /*

crypto/bn/bn_mod.c:20:11: Call
      18.        */
      19.   
      20.       if (!(BN_mod(r, m, d, ctx)))
                      ^
      21.           return 0;
      22.       if (!r->neg)

crypto/bn/bn_div.c:137:1: Parameter `*rm->d`
        135.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
        136.    */
        137. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
        138.              BN_CTX *ctx)
        139.   {

crypto/bn/bn_div.c:182:17: Call
        180.       if (!no_branch && BN_ucmp(num, divisor) < 0) {
        181.           if (rm != NULL) {
        182.               if (BN_copy(rm, num) == NULL)
                               ^
        183.                   return 0;
        184.           }

crypto/bn/bn_lib.c:312:1: <Offset trace>
310.   }
311.   
312. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
313.   {
314.       bn_check_top(b);

crypto/bn/bn_lib.c:312:1: Parameter `b->top`
          310.   }
          311.   
          312. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
          313.   {
          314.       bn_check_top(b);

crypto/bn/bn_lib.c:312:1: <Length trace>
310.   }
311.   
312. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
313.   {
314.       bn_check_top(b);

crypto/bn/bn_lib.c:312:1: Parameter `*a->d`
          310.   }
          311.   
          312. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
          313.   {
          314.       bn_check_top(b);

crypto/bn/bn_lib.c:318:9: Call
          316.       if (a == b)
          317.           return a;
          318.       if (bn_wexpand(a, b->top) == NULL)
                         ^
          319.           return NULL;
          320.   

crypto/bn/bn_lib.c:940:1: Parameter `*a->d`
            938.   }
            939.   
            940. > BIGNUM *bn_wexpand(BIGNUM *a, int words)
            941.   {
            942.       return (words <= a->dmax) ? a : bn_expand2(a, words);

crypto/bn/bn_lib.c:322:9: Array access: Offset added: [8, +oo] Size: [0, 536870848] by call to `EC_POINT_set_compressed_coordinates_GFp` 
          320.   
          321.       if (b->top > 0)
          322.           memcpy(a->d, b->d, sizeof(b->d[0]) * b->top);
                         ^
          323.   
          324.       if (BN_get_flags(b, BN_FLG_CONSTTIME) != 0)
