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

SRombauts / SQLiteCpp / 28461402948
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 181-feature-statement-iterator
DEFAULT BRANCH: master
Ran 30 Jun 2026 04:54PM UTC
Jobs 1
Files 14
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

30 Jun 2026 04:53PM UTC coverage: 99.688% (-0.02%) from 99.711%
28461402948

Pull #558

github

SRombauts
Fix getHeaderInfo() signed-shift UB and use fixed-width Header types

The big-endian assembly shifted unsigned char operands that promote to int,
so bytes with the high bit set produced signed left-shift UB and sign-extended
when widened to the Header fields. Cast each byte to uint32_t before shifting,
via a local readBE32 helper that also removes the repetitive byte arithmetic.

Header used platform-variable `unsigned long` (32-bit on LLP64 Windows, 64-bit
on LP64), giving a cross-platform field-width mismatch. Switch the struct to
fixed-width <cstdint> types (uint8_t / uint32_t).

Fixes DB-02 and DB-03 from the code review.
Pull Request #558: Fix Database::getHeaderInfo() signed-shift UB and use fixed-width Header types

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

639 of 641 relevant lines covered (99.69%)

34.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28461402948.1 30 Jun 2026 04:54PM UTC 14
99.69
GitHub Action Run
Source Files on build 28461402948
  • Tree
  • List 14
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28461402948
  • Pull Request #558
  • PR Base - master (#28451320988)
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