test/ecdsatest.c:322: error: INTEGER_OVERFLOW_L2
  ([-1, +oo] - 1):unsigned32.
Showing all 5 steps of the trace


test/ecdsatest.c:300:19: <LHS trace>
298.   
299.           /* create signature */
300.           sig_len = ECDSA_size(eckey);
                         ^
301.           if (!TEST_ptr(signature = OPENSSL_malloc(sig_len))
302.                   || !TEST_true(ECDSA_sign(0, digest, 20, signature, &sig_len,

test/ecdsatest.c:300:19: Call
298.   
299.           /* create signature */
300.           sig_len = ECDSA_size(eckey);
                         ^
301.           if (!TEST_ptr(signature = OPENSSL_malloc(sig_len))
302.                   || !TEST_true(ECDSA_sign(0, digest, 20, signature, &sig_len,

crypto/ec/ec_asn1.c:1219:9: Assignment
  1217.   
  1218.       if (r == NULL)
  1219.           return 0;
                  ^
  1220.       group = EC_KEY_get0_group(r);
  1221.       if (group == NULL)

test/ecdsatest.c:300:9: Assignment
298.   
299.           /* create signature */
300.           sig_len = ECDSA_size(eckey);
               ^
301.           if (!TEST_ptr(signature = OPENSSL_malloc(sig_len))
302.                   || !TEST_true(ECDSA_sign(0, digest, 20, signature, &sig_len,

test/ecdsatest.c:322:14: Binary operation: ([-1, +oo] - 1):unsigned32
320.   
321.           /* wrong length */
322.           if (!TEST_int_ne(ECDSA_verify(0, digest, 20, signature,
                    ^
323.                                         sig_len - 1, eckey), 1))
324.               goto builtin_err;
