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

KeyviDev / keyvi / 203 / 9
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 31 Jan 2018 12:27PM UTC
Files 136
Run time 5s
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 2018 11:59AM UTC coverage: 79.523%. Remained the same
BUILD_TYPE=linux PYTHON_VERSION=27 CONF=coverage ARCH=x86_64

push

travis-ci

web-flow
fix a bug in variable length short calculation which can cause corrupt keyvi files (#32)

fixes a off by 1 miscalculation between the length calculated by getVarshortLength and encodeVarshort, while the 1st returned 2 for 0x7fff the 2nd correctly returned 1 as 0x7fff fits in 1 byte (0111 1111 1111 1111 ). The same bug existed for the next boundary 0x3fffffff.

As a result of this miscalculation it was possible - although rather unlikely - that a bit in a bitvector was set, marking a written cell while it did not got written as the required space was 1 instead of 2. The consequence of the unwritten cell is a default to '\0', this '\0' caused a mismatch starting with version 0.2 where '\0' became a valid transition. This broken transition caused a segfault due to a broken pointer.

4497 of 5655 relevant lines covered (79.52%)

16990.93 hits per line

Source Files on job 203.9 (BUILD_TYPE=linux PYTHON_VERSION=27 CONF=coverage ARCH=x86_64)
  • Tree
  • List 0
  • Changed 61
  • Source Changed 1
  • Coverage Changed 61
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 203
  • Travis Job 203.9
  • 3f8cfcf4 on github
  • Prev Job for BUILD_TYPE=linux PYTHON_VERSION=27 CONF=coverage ARCH=x86_64 on master (#201.9)
  • Next Job for BUILD_TYPE=linux PYTHON_VERSION=27 CONF=coverage ARCH=x86_64 on master (#209.9)
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