• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tpm2-software / tpm2-tss / 1897
36%

Build:
DEFAULT BRANCH: master
Ran 08 Feb 2019 10:31PM UTC
Jobs 6
Files 2028
Run time 500min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1897

push

travis-ci

tstruk
esys: fix memory leaks in iesys_cryptossl_pk_encrypt

There was a few, interrelated issues in the routine
iesys_cryptossl_pk_encrypt() that caused memory leaks.

The first, is on success, the routine did no cleanup,
correct this by just setting r to success and not
returning and executing the cleanup label.

The second, is that the cleanup label code would segfault on
an invalid free. The OAEP label is owned and free'd by the
library, thus the caller must provide memory allocated via
OPENSSL_malloc or analogous routine. This is per the
documentation for EVP_PKEY_CTX_set0_rsa_oaep_label()

Lastly, in both cases that n is allocated, RSA_free() free's
the value of n and thus a separate call to BN_free() is NOT
required.

16705 of 19781 relevant lines covered (84.45%)

1114.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1897.1 (WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable) 08 Feb 2019 10:31PM UTC 0
84.3
Travis Job 1897.1
3 1897.3 (WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_1_0-stable) 08 Feb 2019 10:33PM UTC 0
84.29
Travis Job 1897.3
5 1897.5 (WITH_CRYPTO=gcrypt OPENSSL_BRANCH=OpenSSL_1_0_2-stable) 08 Feb 2019 10:31PM UTC 0
84.36
Travis Job 1897.5
7 1897.7 (WITH_TCTI_ASYNC=yes WITH_TCTI_PARTIAL=yes WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable) 08 Feb 2019 10:58PM UTC 0
84.17
Travis Job 1897.7
9 1897.9 (WITH_TCTI_ASYNC=yes WITH_TCTI_PARTIAL=no WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable) 08 Feb 2019 11:01PM UTC 0
84.3
Travis Job 1897.9
11 1897.11 (WITH_TCTI_ASYNC=no WITH_TCTI_PARTIAL=yes WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable) 08 Feb 2019 11:12PM UTC 0
84.17
Travis Job 1897.11
Source Files on build 1897
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1897
  • b2fdcb89 on github
  • Prev Build on master (#1893)
  • Next Build on master (#1899)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc