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

stefanberger / libtpms / 2492
77%

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2022 06:06PM UTC
Jobs 1
Files 458
Run time 1min
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
2492

push

travis-ci-com

stefanberger
tpm2: Initialize variable reported by Coverity (false positive)

Initialize a variable in ExecuteCommand following Coverity report
CID 1461252.

Down the callpath as reported in CID 1461252 in
TPMI_ST_COMMAND_TAG_Unmarshal() the passed-in value of
TPMI_ST_COMMAND_TAG *target is stored and possibly restored later on in
case of failure. Coverity complains that the variable is uninitialized.
While this is correct, there's no harm reading the uninitialized value
from the structure and possibly restoring it later on while not doing
anything else with it otherwise. Therefore, it's a false positive.

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

29215 of 37713 relevant lines covered (77.47%)

108092.46 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2492.2 (COVERITY_SCAN_TOKEN=[secure] CONFIG="--with-openssl --prefix=/usr --with-tpm2 --enable-test-coverage" TARGET="install" NPROC="nproc") 31 Mar 2022 06:06PM UTC 0
77.47
Travis Job 2492.2
Source Files on build 2492
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2492
  • 5bc860ac on github
  • Prev Build on master (#2486)
  • Next Build on master (#2494)
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