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

KeyviDev / keyvi / 203
96%

Build:
DEFAULT BRANCH: master
Ran 31 Jan 2018 12:27PM UTC
Jobs 1
Files 75
Run time 6s
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
203

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.

2937 of 3225 relevant lines covered (91.07%)

29793.4 hits per line

Jobs
ID Job ID Ran Files Coverage
9 203.9 (BUILD_TYPE=linux PYTHON_VERSION=27 CONF=coverage ARCH=x86_64) 31 Jan 2018 12:27PM UTC 0
79.52
Travis Job 203.9
Source Files on build 203
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #203
  • 3f8cfcf4 on github
  • Prev Build on master (#201)
  • Next Build on master (#209)
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