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

xapi-project / xen-api / 13070980396
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: asv/fix-cross-pool-halted
DEFAULT BRANCH: master
Ran 31 Jan 2025 10:33AM UTC
Jobs 1
Files 37
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

31 Jan 2025 10:31AM UTC coverage: 78.248%. Remained the same
13070980396

push

github

web-flow
CA-405593: Do not write extraneous data into the host certificate file (#6263)

When installing host certificates, the parser used accepts string with
random characters surrounding the PEM-encoded data. The ad-hoc parser
used to read the host certificate file was unable to parse them.

Because the PEM-encoded objects are copied as-is after validating them,
the ad-hoc parser fails to read the file correctly when xapi restarts.

This change fixes the issue by making sure that the written file's data
has been sanitized, by using parsed datastructures instead of
user-provided data.

    Parse, don't validate

I've manually tested the fix on a host, before and after to validate
that indeed now all the characters in between the PEM-encoded objects
are stripped

3457 of 4418 relevant lines covered (78.25%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 13070980396.1 31 Jan 2025 10:33AM UTC 37
78.25
GitHub Action Run
Source Files on build 13070980396
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13070980396
  • 104efe9d on github
  • Prev Build on gh-readonly-queue/master/pr-6262-4ea5d4379715acfa7e392758daa23d1d27b46e8b (#13052460427)
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

© 2025 Coveralls, Inc