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

Tatsh / bincookie / 42882836404
100%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2026 07:12PM UTC
Jobs 1
Files 1
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

10 Nov 2026 07:11PM UTC coverage: 100.0%. Remained the same
42882836404

push

github

Tatsh
bincookie: fix misaligned access to pages and cookies

Pages and cookies are found at file-controlled offsets, but
bincookie_page_t requires 4-byte alignment and bincookie_cookie_t
requires 8-byte alignment. Casting the buffer to these types at an
unaligned offset and reading a field is undefined behaviour. The
library, the accessor macros, and consumers using the documented
cookie->flags form were all affected.

Pack the on-disk structures to lower their alignment to 1. Packing
fixes every access site without the API change that reading fields
through memcpy() would need for consumers. Assert the alignment and
sizes at compile time because x86 hides the fault without UBSan.

Addresses GHSA-74fp-h89q-h6fr.

Reported-by: octane0x <https://github.com/octane0x>
Signed-off-by: Andrew Udvare <audvare@gmail.com>

66 of 66 relevant lines covered (100.0%)

5.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42882836404.1 10 Nov 2026 07:12PM UTC 1
100.0
GitHub Action Run
Source Files on build 42882836404
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42882836404
  • 93651556 on github
  • Prev Build on master (#42770864496)
  • Next Build on master (#42883701132)
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