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

tpm2-software / tpm2-tss / 1897 / 7
36%
master: 36%

Build:
DEFAULT BRANCH: master
Ran 08 Feb 2019 10:58PM UTC
Files 1732
Run time 330min
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

08 Feb 2019 10:15PM UTC coverage: 84.172% (-0.009%) from 84.181%
WITH_TCTI_ASYNC=yes WITH_TCTI_PARTIAL=yes WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable

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.

17038 of 20242 relevant lines covered (84.17%)

185.45 hits per line

Source Files on job 1897.7 (WITH_TCTI_ASYNC=yes WITH_TCTI_PARTIAL=yes WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 986
  • Travis Job 1897.7
  • b2fdcb89 on github
  • Prev Job for WITH_TCTI_ASYNC=yes WITH_TCTI_PARTIAL=yes WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable on master (#1893.7)
  • Next Job for WITH_TCTI_ASYNC=yes WITH_TCTI_PARTIAL=yes WITH_CRYPTO=ossl OPENSSL_BRANCH=OpenSSL_1_0_2-stable on master (#1899.7)
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