crypto/ec/ecp_smpl.c:446: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_is_one`.
Showing all 10 steps of the trace


crypto/ec/ecp_smpl.c:444:14: Call
442.           int Z_is_one;
443.   
444.           if (!BN_nnmod(point->Z, z, group->field, ctx))
                    ^
445.               goto err;
446.           Z_is_one = BN_is_one(point->Z);

crypto/bn/bn_mod.c:119:1: Parameter `*r->d`
  117.   #include "bn_lcl.h"
  118.   
  119. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
  120.   {
  121.       /*

crypto/bn/bn_mod.c:126:11: Call
  124.        */
  125.   
  126.       if (!(BN_mod(r, m, d, ctx)))
                   ^
  127.           return 0;
  128.       if (!r->neg)

crypto/bn/bn_div.c:189:1: Parameter `*rm->d`
    187.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
    188.    */
    189. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
    190.              BN_CTX *ctx)
    191.   {

crypto/ec/ecp_smpl.c:446:20: Call
444.           if (!BN_nnmod(point->Z, z, group->field, ctx))
445.               goto err;
446.           Z_is_one = BN_is_one(point->Z);
                          ^
447.           if (group->meth->field_encode) {
448.               if (Z_is_one && (group->meth->field_set_to_one != 0)) {

crypto/bn/bn_lib.c:904:1: Parameter `*a->d`
  902.   }
  903.   
  904. > int BN_is_one(const BIGNUM *a)
  905.   {
  906.       return BN_abs_is_word(a, 1) && !a->neg;

crypto/bn/bn_lib.c:906:12: Call
  904.   int BN_is_one(const BIGNUM *a)
  905.   {
  906.       return BN_abs_is_word(a, 1) && !a->neg;
                    ^
  907.   }
  908.   

crypto/bn/bn_lib.c:894:1: <Length trace>
892.   }
893.   
894. > int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
895.   {
896.       return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0));

crypto/bn/bn_lib.c:894:1: Parameter `*a->d`
    892.   }
    893.   
    894. > int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
    895.   {
    896.       return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0));

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