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

tpm2-software / tpm2-tss / 1168
36%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2018 07:39PM UTC
Jobs 1
Files 748
Run time 41s
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
1168

push

travis-ci

Philip Tricca
tcti: Replace 2 read calls in the 'receive' function with a single read.

The linux kernel driver closes connections that don't read the full
response buffer	in one read. This requires that the device TCTI
do exactly this to keep our FDs closed prematurely. It also means we
can't read the response header to know the size of the response ahead
of reading the response body.

If the caller queries for the size of the response before providing us
with the buffer (by providing a NULL buffer) then we just tell them to
give us a 4k buffer to be safe. We do not however require that the
buffer be this large to allow "expert" applications that may want to
precalculate the size of their response buffers in advance.

This commit also updates the unit tests to account for this change.

Signed-off-by: Philip Tricca <flihp@twobit.us>

23367 of 29642 relevant lines covered (78.83%)

76.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1168.1 09 Apr 2018 07:39PM UTC 0
78.83
Travis Job 1168.1
Source Files on build 1168
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1168
  • 7ce0cc4a on github
  • Prev Build on master (#1164)
  • Next Build on master (#1171)
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