crypto/ec/ec2_mult.c:205: error: MEMORY_LEAK
  memory dynamically allocated by call to `BN_CTX_start()` at line 195, column 5 is not reachable after line 205, column 10.
Showing all 115 steps of the trace


crypto/ec/ec2_mult.c:173:1: start of procedure gf2m_Mxy()
171.    *     2 otherwise
172.    */
173. > static int gf2m_Mxy(const EC_GROUP *group, const BIGNUM *x, const BIGNUM *y,
174.                       BIGNUM *x1, BIGNUM *z1, BIGNUM *x2, BIGNUM *z2,
175.                       BN_CTX *ctx)

crypto/ec/ec2_mult.c:178:5: 
176.   {
177.       BIGNUM *t3, *t4, *t5;
178. >     int ret = 0;
179.   
180.       if (BN_is_zero(z1)) {

crypto/ec/ec2_mult.c:180:9: 
178.       int ret = 0;
179.   
180. >     if (BN_is_zero(z1)) {
181.           BN_zero(x2);
182.           BN_zero(z2);

crypto/bn/bn_lib.c:898:1: start of procedure BN_is_zero()
  896.   }
  897.   
  898. > int BN_is_zero(const BIGNUM *a)
  899.   {
  900.       return a->top == 0;

crypto/bn/bn_lib.c:900:12: Condition is false
  898.   int BN_is_zero(const BIGNUM *a)
  899.   {
  900.       return a->top == 0;
                    ^
  901.   }
  902.   

crypto/bn/bn_lib.c:900:5: 
  898.   int BN_is_zero(const BIGNUM *a)
  899.   {
  900. >     return a->top == 0;
  901.   }
  902.   

crypto/bn/bn_lib.c:901:1: return from a call to BN_is_zero
  899.   {
  900.       return a->top == 0;
  901. > }
  902.   
  903.   int BN_is_one(const BIGNUM *a)

crypto/ec/ec2_mult.c:180:9: Taking false branch
178.       int ret = 0;
179.   
180.       if (BN_is_zero(z1)) {
               ^
181.           BN_zero(x2);
182.           BN_zero(z2);

crypto/ec/ec2_mult.c:186:9: 
184.       }
185.   
186. >     if (BN_is_zero(z2)) {
187.           if (!BN_copy(x2, x))
188.               return 0;

crypto/bn/bn_lib.c:898:1: start of procedure BN_is_zero()
  896.   }
  897.   
  898. > int BN_is_zero(const BIGNUM *a)
  899.   {
  900.       return a->top == 0;

crypto/bn/bn_lib.c:900:12: Condition is false
  898.   int BN_is_zero(const BIGNUM *a)
  899.   {
  900.       return a->top == 0;
                    ^
  901.   }
  902.   

crypto/bn/bn_lib.c:900:5: 
  898.   int BN_is_zero(const BIGNUM *a)
  899.   {
  900. >     return a->top == 0;
  901.   }
  902.   

crypto/bn/bn_lib.c:901:1: return from a call to BN_is_zero
  899.   {
  900.       return a->top == 0;
  901. > }
  902.   
  903.   int BN_is_one(const BIGNUM *a)

crypto/ec/ec2_mult.c:186:9: Taking false branch
184.       }
185.   
186.       if (BN_is_zero(z2)) {
               ^
187.           if (!BN_copy(x2, x))
188.               return 0;

crypto/ec/ec2_mult.c:195:5: 
193.   
194.       /* Since Mxy is static we can guarantee that ctx != NULL. */
195. >     BN_CTX_start(ctx);
196.       t3 = BN_CTX_get(ctx);
197.       t4 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:235:1: start of procedure BN_CTX_start()
  233.   }
  234.   
  235. > void BN_CTX_start(BN_CTX *ctx)
  236.   {
  237.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_ctx.c:239:9: Taking false branch
  237.       CTXDBG_ENTRY("BN_CTX_start", ctx);
  238.       /* If we're already overflowing ... */
  239.       if (ctx->err_stack || ctx->too_many)
                 ^
  240.           ctx->err_stack++;
  241.       /* (Try to) get a new frame pointer */

crypto/bn/bn_ctx.c:239:27: Taking false branch
  237.       CTXDBG_ENTRY("BN_CTX_start", ctx);
  238.       /* If we're already overflowing ... */
  239.       if (ctx->err_stack || ctx->too_many)
                                   ^
  240.           ctx->err_stack++;
  241.       /* (Try to) get a new frame pointer */

crypto/bn/bn_ctx.c:242:15: 
  240.           ctx->err_stack++;
  241.       /* (Try to) get a new frame pointer */
  242. >     else if (!BN_STACK_push(&ctx->stack, ctx->used)) {
  243.           BNerr(BN_F_BN_CTX_START, BN_R_TOO_MANY_TEMPORARY_VARIABLES);
  244.           ctx->err_stack++;

crypto/bn/bn_ctx.c:306:1: start of procedure BN_STACK_push()
    304.   
    305.   
    306. > static int BN_STACK_push(BN_STACK *st, unsigned int idx)
    307.   {
    308.       if (st->depth == st->size) {

crypto/bn/bn_ctx.c:308:9: Taking true branch
    306.   static int BN_STACK_push(BN_STACK *st, unsigned int idx)
    307.   {
    308.       if (st->depth == st->size) {
                   ^
    309.           /* Need to expand */
    310.           unsigned int newsize =

crypto/bn/bn_ctx.c:311:13: Condition is true
    309.           /* Need to expand */
    310.           unsigned int newsize =
    311.               st->size ? (st->size * 3 / 2) : BN_CTX_START_FRAMES;
                       ^
    312.           unsigned int *newitems = OPENSSL_malloc(sizeof(*newitems) * newsize);
    313.           if (newitems == NULL)

crypto/bn/bn_ctx.c:310:9: 
    308.       if (st->depth == st->size) {
    309.           /* Need to expand */
    310. >         unsigned int newsize =
    311.               st->size ? (st->size * 3 / 2) : BN_CTX_START_FRAMES;
    312.           unsigned int *newitems = OPENSSL_malloc(sizeof(*newitems) * newsize);

crypto/bn/bn_ctx.c:312:9: 
    310.           unsigned int newsize =
    311.               st->size ? (st->size * 3 / 2) : BN_CTX_START_FRAMES;
    312. >         unsigned int *newitems = OPENSSL_malloc(sizeof(*newitems) * newsize);
    313.           if (newitems == NULL)
    314.               return 0;

crypto/mem.c:119:1: start of procedure CRYPTO_malloc()
      117.   }
      118.   
      119. > void *CRYPTO_malloc(size_t num, const char *file, int line)
      120.   {
      121.       void *ret = NULL;

crypto/mem.c:121:5: 
      119.   void *CRYPTO_malloc(size_t num, const char *file, int line)
      120.   {
      121. >     void *ret = NULL;
      122.   
      123.       if (num <= 0)

crypto/mem.c:123:9: Taking false branch
      121.       void *ret = NULL;
      122.   
      123.       if (num <= 0)
                     ^
      124.           return NULL;
      125.   

crypto/mem.c:126:5: 
      124.           return NULL;
      125.   
      126. >     allow_customize = 0;
      127.   #ifndef OPENSSL_NO_CRYPTO_MDEBUG
      128.       if (call_malloc_debug) {

crypto/mem.c:136:5: 
      134.       }
      135.   #else
      136. >     (void)file;
      137.       (void)line;
      138.       ret = malloc(num);

crypto/mem.c:137:5: 
      135.   #else
      136.       (void)file;
      137. >     (void)line;
      138.       ret = malloc(num);
      139.   #endif

crypto/mem.c:138:5: 
      136.       (void)file;
      137.       (void)line;
      138. >     ret = malloc(num);
      139.   #endif
      140.   

crypto/mem.c:153:5: 
      151.   #endif
      152.   
      153. >     return ret;
      154.   }
      155.   

crypto/mem.c:154:1: return from a call to CRYPTO_malloc
      152.   
      153.       return ret;
      154. > }
      155.   
      156.   void *CRYPTO_zalloc(size_t num, const char *file, int line)

crypto/bn/bn_ctx.c:313:13: Taking false branch
    311.               st->size ? (st->size * 3 / 2) : BN_CTX_START_FRAMES;
    312.           unsigned int *newitems = OPENSSL_malloc(sizeof(*newitems) * newsize);
    313.           if (newitems == NULL)
                       ^
    314.               return 0;
    315.           if (st->depth)

crypto/bn/bn_ctx.c:315:13: Taking true branch
    313.           if (newitems == NULL)
    314.               return 0;
    315.           if (st->depth)
                       ^
    316.               memcpy(newitems, st->indexes, sizeof(*newitems) * st->depth);
    317.           OPENSSL_free(st->indexes);

crypto/bn/bn_ctx.c:316:13: 
    314.               return 0;
    315.           if (st->depth)
    316. >             memcpy(newitems, st->indexes, sizeof(*newitems) * st->depth);
    317.           OPENSSL_free(st->indexes);
    318.           st->indexes = newitems;

crypto/bn/bn_ctx.c:317:9: 
    315.           if (st->depth)
    316.               memcpy(newitems, st->indexes, sizeof(*newitems) * st->depth);
    317. >         OPENSSL_free(st->indexes);
    318.           st->indexes = newitems;
    319.           st->size = newsize;

crypto/mem.c:233:1: start of procedure CRYPTO_free()
      231.   }
      232.   
      233. > void CRYPTO_free(void *str)
      234.   {
      235.   #ifndef OPENSSL_NO_CRYPTO_MDEBUG

crypto/mem.c:244:5: 
      242.       }
      243.   #else
      244. >     free(str);
      245.   #endif
      246.   }

crypto/mem.c:246:1: return from a call to CRYPTO_free
      244.       free(str);
      245.   #endif
      246. > }
      247.   
      248.   void CRYPTO_clear_free(void *str, size_t num)

crypto/bn/bn_ctx.c:318:9: 
    316.               memcpy(newitems, st->indexes, sizeof(*newitems) * st->depth);
    317.           OPENSSL_free(st->indexes);
    318. >         st->indexes = newitems;
    319.           st->size = newsize;
    320.       }

crypto/bn/bn_ctx.c:319:9: 
    317.           OPENSSL_free(st->indexes);
    318.           st->indexes = newitems;
    319. >         st->size = newsize;
    320.       }
    321.       st->indexes[(st->depth)++] = idx;

crypto/bn/bn_ctx.c:321:5: 
    319.           st->size = newsize;
    320.       }
    321. >     st->indexes[(st->depth)++] = idx;
    322.       return 1;
    323.   }

crypto/bn/bn_ctx.c:322:5: 
    320.       }
    321.       st->indexes[(st->depth)++] = idx;
    322. >     return 1;
    323.   }
    324.   

crypto/bn/bn_ctx.c:323:1: return from a call to BN_STACK_push
    321.       st->indexes[(st->depth)++] = idx;
    322.       return 1;
    323. > }
    324.   
    325.   static unsigned int BN_STACK_pop(BN_STACK *st)

crypto/bn/bn_ctx.c:242:15: Taking false branch
  240.           ctx->err_stack++;
  241.       /* (Try to) get a new frame pointer */
  242.       else if (!BN_STACK_push(&ctx->stack, ctx->used)) {
                       ^
  243.           BNerr(BN_F_BN_CTX_START, BN_R_TOO_MANY_TEMPORARY_VARIABLES);
  244.           ctx->err_stack++;

crypto/bn/bn_ctx.c:239:5: 
  237.       CTXDBG_ENTRY("BN_CTX_start", ctx);
  238.       /* If we're already overflowing ... */
  239. >     if (ctx->err_stack || ctx->too_many)
  240.           ctx->err_stack++;
  241.       /* (Try to) get a new frame pointer */

crypto/bn/bn_ctx.c:247:1: return from a call to BN_CTX_start
  245.       }
  246.       CTXDBG_EXIT(ctx);
  247. > }
  248.   
  249.   void BN_CTX_end(BN_CTX *ctx)

crypto/ec/ec2_mult.c:196:5: 
194.       /* Since Mxy is static we can guarantee that ctx != NULL. */
195.       BN_CTX_start(ctx);
196. >     t3 = BN_CTX_get(ctx);
197.       t4 = BN_CTX_get(ctx);
198.       t5 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:266:1: start of procedure BN_CTX_get()
  264.   }
  265.   
  266. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
  267.   {
  268.       BIGNUM *ret;

crypto/bn/bn_ctx.c:271:9: Taking false branch
  269.   
  270.       CTXDBG_ENTRY("BN_CTX_get", ctx);
  271.       if (ctx->err_stack || ctx->too_many)
                 ^
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {

crypto/bn/bn_ctx.c:271:27: Taking false branch
  269.   
  270.       CTXDBG_ENTRY("BN_CTX_get", ctx);
  271.       if (ctx->err_stack || ctx->too_many)
                                   ^
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {

crypto/bn/bn_ctx.c:273:9: Taking false branch
  271.       if (ctx->err_stack || ctx->too_many)
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {
                 ^
  274.           /*
  275.            * Setting too_many prevents repeated "get" attempts from cluttering

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

crypto/bn/bn_lib.c:529:1: start of procedure BN_set_word()
    527.   }
    528.   
    529. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    530.   {
    531.       bn_check_top(a);

crypto/bn/bn_lib.c:532:9: Condition is true
    530.   {
    531.       bn_check_top(a);
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    533.           return (0);
    534.       a->neg = 0;

crypto/bn/bn_lib.c:532:9: Taking false branch
    530.   {
    531.       bn_check_top(a);
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    533.           return (0);
    534.       a->neg = 0;

crypto/bn/bn_lib.c:534:5: 
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
    533.           return (0);
    534. >     a->neg = 0;
    535.       a->d[0] = w;
    536.       a->top = (w ? 1 : 0);

crypto/bn/bn_lib.c:535:5: 
    533.           return (0);
    534.       a->neg = 0;
    535. >     a->d[0] = w;
    536.       a->top = (w ? 1 : 0);
    537.       bn_check_top(a);

crypto/bn/bn_lib.c:536:15: Condition is false
    534.       a->neg = 0;
    535.       a->d[0] = w;
    536.       a->top = (w ? 1 : 0);
                         ^
    537.       bn_check_top(a);
    538.       return (1);

crypto/bn/bn_lib.c:536:5: 
    534.       a->neg = 0;
    535.       a->d[0] = w;
    536. >     a->top = (w ? 1 : 0);
    537.       bn_check_top(a);
    538.       return (1);

crypto/bn/bn_lib.c:538:5: 
    536.       a->top = (w ? 1 : 0);
    537.       bn_check_top(a);
    538. >     return (1);
    539.   }
    540.   

crypto/bn/bn_lib.c:539:1: return from a call to BN_set_word
    537.       bn_check_top(a);
    538.       return (1);
    539. > }
    540.   
    541.   BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)

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

crypto/bn/bn_ctx.c:286:5: 
  284.       ctx->used++;
  285.       CTXDBG_RET(ctx, ret);
  286. >     return ret;
  287.   }
  288.   

crypto/bn/bn_ctx.c:287:1: return from a call to BN_CTX_get
  285.       CTXDBG_RET(ctx, ret);
  286.       return ret;
  287. > }
  288.   
  289.   /************/

crypto/ec/ec2_mult.c:197:5: 
195.       BN_CTX_start(ctx);
196.       t3 = BN_CTX_get(ctx);
197. >     t4 = BN_CTX_get(ctx);
198.       t5 = BN_CTX_get(ctx);
199.       if (t5 == NULL)

crypto/bn/bn_ctx.c:266:1: start of procedure BN_CTX_get()
  264.   }
  265.   
  266. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
  267.   {
  268.       BIGNUM *ret;

crypto/bn/bn_ctx.c:271:9: Taking false branch
  269.   
  270.       CTXDBG_ENTRY("BN_CTX_get", ctx);
  271.       if (ctx->err_stack || ctx->too_many)
                 ^
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {

crypto/bn/bn_ctx.c:271:27: Taking false branch
  269.   
  270.       CTXDBG_ENTRY("BN_CTX_get", ctx);
  271.       if (ctx->err_stack || ctx->too_many)
                                   ^
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {

crypto/bn/bn_ctx.c:273:9: Taking false branch
  271.       if (ctx->err_stack || ctx->too_many)
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {
                 ^
  274.           /*
  275.            * Setting too_many prevents repeated "get" attempts from cluttering

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

crypto/bn/bn_lib.c:529:1: start of procedure BN_set_word()
    527.   }
    528.   
    529. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    530.   {
    531.       bn_check_top(a);

crypto/bn/bn_lib.c:532:9: Condition is true
    530.   {
    531.       bn_check_top(a);
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    533.           return (0);
    534.       a->neg = 0;

crypto/bn/bn_lib.c:532:9: Taking false branch
    530.   {
    531.       bn_check_top(a);
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    533.           return (0);
    534.       a->neg = 0;

crypto/bn/bn_lib.c:534:5: 
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
    533.           return (0);
    534. >     a->neg = 0;
    535.       a->d[0] = w;
    536.       a->top = (w ? 1 : 0);

crypto/bn/bn_lib.c:535:5: 
    533.           return (0);
    534.       a->neg = 0;
    535. >     a->d[0] = w;
    536.       a->top = (w ? 1 : 0);
    537.       bn_check_top(a);

crypto/bn/bn_lib.c:536:15: Condition is false
    534.       a->neg = 0;
    535.       a->d[0] = w;
    536.       a->top = (w ? 1 : 0);
                         ^
    537.       bn_check_top(a);
    538.       return (1);

crypto/bn/bn_lib.c:536:5: 
    534.       a->neg = 0;
    535.       a->d[0] = w;
    536. >     a->top = (w ? 1 : 0);
    537.       bn_check_top(a);
    538.       return (1);

crypto/bn/bn_lib.c:538:5: 
    536.       a->top = (w ? 1 : 0);
    537.       bn_check_top(a);
    538. >     return (1);
    539.   }
    540.   

crypto/bn/bn_lib.c:539:1: return from a call to BN_set_word
    537.       bn_check_top(a);
    538.       return (1);
    539. > }
    540.   
    541.   BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)

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

crypto/bn/bn_ctx.c:286:5: 
  284.       ctx->used++;
  285.       CTXDBG_RET(ctx, ret);
  286. >     return ret;
  287.   }
  288.   

crypto/bn/bn_ctx.c:287:1: return from a call to BN_CTX_get
  285.       CTXDBG_RET(ctx, ret);
  286.       return ret;
  287. > }
  288.   
  289.   /************/

crypto/ec/ec2_mult.c:198:5: 
196.       t3 = BN_CTX_get(ctx);
197.       t4 = BN_CTX_get(ctx);
198. >     t5 = BN_CTX_get(ctx);
199.       if (t5 == NULL)
200.           goto err;

crypto/bn/bn_ctx.c:266:1: start of procedure BN_CTX_get()
  264.   }
  265.   
  266. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
  267.   {
  268.       BIGNUM *ret;

crypto/bn/bn_ctx.c:271:9: Taking false branch
  269.   
  270.       CTXDBG_ENTRY("BN_CTX_get", ctx);
  271.       if (ctx->err_stack || ctx->too_many)
                 ^
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {

crypto/bn/bn_ctx.c:271:27: Taking false branch
  269.   
  270.       CTXDBG_ENTRY("BN_CTX_get", ctx);
  271.       if (ctx->err_stack || ctx->too_many)
                                   ^
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {

crypto/bn/bn_ctx.c:273:9: Taking false branch
  271.       if (ctx->err_stack || ctx->too_many)
  272.           return NULL;
  273.       if ((ret = BN_POOL_get(&ctx->pool, ctx->flags)) == NULL) {
                 ^
  274.           /*
  275.            * Setting too_many prevents repeated "get" attempts from cluttering

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

crypto/bn/bn_lib.c:529:1: start of procedure BN_set_word()
    527.   }
    528.   
    529. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    530.   {
    531.       bn_check_top(a);

crypto/bn/bn_lib.c:532:9: Condition is true
    530.   {
    531.       bn_check_top(a);
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    533.           return (0);
    534.       a->neg = 0;

crypto/bn/bn_lib.c:532:9: Taking false branch
    530.   {
    531.       bn_check_top(a);
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                   ^
    533.           return (0);
    534.       a->neg = 0;

crypto/bn/bn_lib.c:534:5: 
    532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
    533.           return (0);
    534. >     a->neg = 0;
    535.       a->d[0] = w;
    536.       a->top = (w ? 1 : 0);

crypto/bn/bn_lib.c:535:5: 
    533.           return (0);
    534.       a->neg = 0;
    535. >     a->d[0] = w;
    536.       a->top = (w ? 1 : 0);
    537.       bn_check_top(a);

crypto/bn/bn_lib.c:536:15: Condition is false
    534.       a->neg = 0;
    535.       a->d[0] = w;
    536.       a->top = (w ? 1 : 0);
                         ^
    537.       bn_check_top(a);
    538.       return (1);

crypto/bn/bn_lib.c:536:5: 
    534.       a->neg = 0;
    535.       a->d[0] = w;
    536. >     a->top = (w ? 1 : 0);
    537.       bn_check_top(a);
    538.       return (1);

crypto/bn/bn_lib.c:538:5: 
    536.       a->top = (w ? 1 : 0);
    537.       bn_check_top(a);
    538. >     return (1);
    539.   }
    540.   

crypto/bn/bn_lib.c:539:1: return from a call to BN_set_word
    537.       bn_check_top(a);
    538.       return (1);
    539. > }
    540.   
    541.   BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)

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

crypto/bn/bn_ctx.c:286:5: 
  284.       ctx->used++;
  285.       CTXDBG_RET(ctx, ret);
  286. >     return ret;
  287.   }
  288.   

crypto/bn/bn_ctx.c:287:1: return from a call to BN_CTX_get
  285.       CTXDBG_RET(ctx, ret);
  286.       return ret;
  287. > }
  288.   
  289.   /************/

crypto/ec/ec2_mult.c:199:9: Taking false branch
197.       t4 = BN_CTX_get(ctx);
198.       t5 = BN_CTX_get(ctx);
199.       if (t5 == NULL)
               ^
200.           goto err;
201.   

crypto/ec/ec2_mult.c:202:10: 
200.           goto err;
201.   
202. >     if (!BN_one(t5))
203.           goto err;
204.   

crypto/bn/bn_lib.c:529:1: start of procedure BN_set_word()
  527.   }
  528.   
  529. > int BN_set_word(BIGNUM *a, BN_ULONG w)
  530.   {
  531.       bn_check_top(a);

crypto/bn/bn_lib.c:532:9: Condition is true
  530.   {
  531.       bn_check_top(a);
  532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                 ^
  533.           return (0);
  534.       a->neg = 0;

crypto/bn/bn_lib.c:532:9: Taking false branch
  530.   {
  531.       bn_check_top(a);
  532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
                 ^
  533.           return (0);
  534.       a->neg = 0;

crypto/bn/bn_lib.c:534:5: 
  532.       if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
  533.           return (0);
  534. >     a->neg = 0;
  535.       a->d[0] = w;
  536.       a->top = (w ? 1 : 0);

crypto/bn/bn_lib.c:535:5: 
  533.           return (0);
  534.       a->neg = 0;
  535. >     a->d[0] = w;
  536.       a->top = (w ? 1 : 0);
  537.       bn_check_top(a);

crypto/bn/bn_lib.c:536:15: Condition is true
  534.       a->neg = 0;
  535.       a->d[0] = w;
  536.       a->top = (w ? 1 : 0);
                       ^
  537.       bn_check_top(a);
  538.       return (1);

crypto/bn/bn_lib.c:536:5: 
  534.       a->neg = 0;
  535.       a->d[0] = w;
  536. >     a->top = (w ? 1 : 0);
  537.       bn_check_top(a);
  538.       return (1);

crypto/bn/bn_lib.c:538:5: 
  536.       a->top = (w ? 1 : 0);
  537.       bn_check_top(a);
  538. >     return (1);
  539.   }
  540.   

crypto/bn/bn_lib.c:539:1: return from a call to BN_set_word
  537.       bn_check_top(a);
  538.       return (1);
  539. > }
  540.   
  541.   BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)

crypto/ec/ec2_mult.c:202:10: Taking false branch
200.           goto err;
201.   
202.       if (!BN_one(t5))
                ^
203.           goto err;
204.   

crypto/ec/ec2_mult.c:205:10: Skipping __function_pointer__(): unresolved function pointer
203.           goto err;
204.   
205.       if (!group->meth->field_mul(group, t3, z1, z2, ctx))
                ^
206.           goto err;
207.   
