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

tpm2-software / tpm2-tss / 1168 / 1
36%
master: 36%

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

09 Apr 2018 07:39PM UTC coverage: 78.831% (-0.05%) from 78.88%
1168.1

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

Source Files on job 1168.1
  • Tree
  • List 0
  • Changed 8
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 799
  • Travis Job 1168.1
  • 7ce0cc4a on github
  • Prev Job for on master (#1164.1)
  • Next Job for on master (#1171.1)
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