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

stefanberger / libtpms / 937
77%
master: 77%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 17 Oct 2019 05:07PM UTC
Jobs 1
Files 424
Run time 42s
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
937

push

travis-ci

Stefan Berger
tpm12: Fix potential buffer overflow in filename creation

Fix a potential buffer overflow bug in the creation of filenames
that were using sprintf() rather than snprintf(). The buffer overflow
could occurr if the buffer is longer than 4096 bytes. The state path
may alone be 4096 bytes and could possibly trigger the overflow.

Swtpm for example is not affected from this since it uses the callbacks
that are invoked before the faulty function is called.

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

14 of 14 new or added lines in 1 file covered. (100.0%)

27268 of 36016 relevant lines covered (75.71%)

81231.11 hits per line

Jobs
ID Job ID Ran Files Coverage
2 937.2 (CONFIG="--with-openssl --prefix=/usr --with-tpm2 --enable-test-coverage" TARGET="install" NPROC="nproc") 17 Oct 2019 05:07PM UTC 0
75.71
Travis Job 937.2
Source Files on build 937
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #937
  • dc116933 on github
  • Prev Build on stable-0.7.0 (#923)
  • Next Build on stable-0.7.0 (#1048)
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