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

stefanberger / swtpm / 2843
74%

Build:
DEFAULT BRANCH: master
Ran 21 Dec 2020 11:33PM UTC
Jobs 1
Files 56
Run time 6s
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
2843

push

travis-ci-com

stefanberger
swtpm: Adjust size of message buffer to be of size ptm_hdata

This patch fixes the following compilation issue/bug:

ctrlchannel.c: In function ‘ctrlchannel_process_fd’:
ctrlchannel.c:694:13: error: array subscript ‘ptm_hdata[0]’ is partly outside array bounds of ‘struct output[1]’ [-Werror=array-bounds]
  694 |         data->u.resp.tpm_result = htobe32(res);
      |             ^~
ctrlchannel.c:486:7: note: while referencing ‘output’
  486 |     } output;
      |       ^~~~~~

Sending hashes to the TPM is not currently used in any major
application, so this bug should not affect much.

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

3733 of 5079 relevant lines covered (73.5%)

22713.91 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2843.2 (COVERITY_SCAN_TOKEN=[secure] PREFIX="/usr" CONFIG="--with-openssl --prefix=/usr --enable-test-coverage" SUDO="sudo" CHECK="check" SWTPM_TEST_IBMTSS2="1") 21 Dec 2020 11:33PM UTC 0
73.5
Travis Job 2843.2
Source Files on build 2843
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2843
  • e1212354 on github
  • Prev Build on master (#2836)
  • Next Build on master (#2846)
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