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

stefanberger / libtpms / 1577
78%
master: 77%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 16 Aug 2020 11:14PM UTC
Jobs 1
Files 450
Run time 31s
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
1577

push

travis-ci

stefanberger
WIP: tpm12: Fix compilation error for s390x

tpm12/tpm_nvram.c: In function 'TPM_Process_NVWriteValue':

tpm12/tpm_nvram.c:2313:45: error: 'd1NvdataSensitive' may be used uninitialized in this function [-Werror=maybe-uninitialized]

 2313 |   if ((d1NvdataSensitive->pubInfo.permission.attributes & TPM_NV_PER_WRITEALL) &&
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

This compiler error is a false positive since it is inside this if statement:

   if ((returnCode == TPM_SUCCESS) && !done && !dir) {

However, if d1NvdataSensitive was not set then returnCode is either != TPM_SUCCESS or
dir = TRUE per line 2106 if index0 = FALSE or
if nvIndex = 0 then done = TRUE per line 2215.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>

28863 of 37214 relevant lines covered (77.56%)

84100.1 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1577.2 (COVERITY_SCAN_TOKEN=[secure] CONFIG="--with-openssl --prefix=/usr --with-tpm2 --enable-test-coverage" TARGET="install" NPROC="nproc") 16 Aug 2020 11:14PM UTC 0
77.56
Travis Job 1577.2
Source Files on build 1577
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1577
  • c35b4a93 on github
  • Next Build on fix_s390x (#1587)
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