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

protobuf-c / protobuf-c / 12738781745
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: wasm-no-protoc-build
DEFAULT BRANCH: master
Ran 13 Jan 2025 01:03AM 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

13 Jan 2025 01:02AM UTC coverage: 90.33% (+0.02%) from 90.313%
12738781745

push

github

edmonds
protobuf-c: Zero memory returned by do_alloc()

There have been reports of memory corruption, for instance the GitHub
issues #690 and #745, that are likely due to failure to fully initialize
allocated memory along a particular code path.

I have not been able to track down the immediate cause of #745
which is invoked by new optimizations in gcc 15 that are enabled by
`-fzero-init-padding-bits=standard`.

Clearing all allocated memory should be safe and any slight performance
hit is certainly worth it. It does appear to prevent the crash in #745.

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

1476 of 1634 relevant lines covered (90.33%)

286.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12738781745.1 13 Jan 2025 01:03AM UTC 1
90.33
GitHub Action Run
Source Files on build 12738781745
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 06e645e6 on github
  • Prev Build on next (#12737751600)
  • Next Build on next (#12738789658)
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