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

kubevirt / containerized-data-importer / #6245
50%

Build:
DEFAULT BRANCH: main
Ran 14 Sep 2026 11:14AM UTC
Jobs 1
Files 159
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

14 Sep 2026 11:01AM UTC coverage: 49.771% (+0.03%) from 49.738%
#6245

push

travis-ci

web-flow
Fix zstd decompression buffer corruption in CDI (#4278)

Fixes data corruption issue when trying to import a zst image.
Essentially the issue boils down to how cdi finds out which compressed
format the data is inside matchHeaders.

1) `matchHeader` reads 512 bytes from the raw network reader into fr.buf
2) It detects zst and pushes a zst reader to the reader stack
3) `matchHeader` uses the zst reader to read the first zstd block which
   in the case of my image was only 100b long. It then saves the decompressed data of 512 bytes back into `fr.buf` but we only read part of the original fr.buf.
   This causes us to overwrite compressed data with decompressed data.
4) The next read from the zst reader then tries reading decompressed
   data as a zst header and sees a very high window size leading to the
   error `failed to pull image: window size exceeded`

Signed-off-by: Trevor Moyer <trevormoyer@google.com>
Co-authored-by: Trevor Moyer <trevormoyer@google.com>

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

15189 of 30518 relevant lines covered (49.77%)

0.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #6245.1 14 Sep 2026 11:14AM UTC 159
49.77
Source Files on build #6245
  • Tree
  • List 159
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fe74657f on github
  • Prev Build on main
  • Next Build on main
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc