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

nlohmann / json / 14726601960
99%

Build:
DEFAULT BRANCH: develop
Ran 29 Apr 2025 08:57AM UTC
Jobs 1
Files 30
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

29 Apr 2025 08:17AM UTC coverage: 99.189%. Remained the same
14726601960

push

github

web-flow
fix: BJData size calculation overflow (#4765)

Adds pre-multiplication overflow detection to catch cases where dimension
products would exceed size_t max. The previous check only detected when
overflow resulted in exactly 0 or SIZE_MAX, missing other cases.

Retains the original post-multiplication check for backward compatibility.
Adds tests verifying overflow detection with dimensions (2^32+1)×(2^32),
which previously overflowed silently to 2^32.

This prevents custom SAX handlers from receiving incorrect array sizes
that could lead to buffer overflows.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>

1994 of 2129 branches covered (93.66%)

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

6358 of 6410 relevant lines covered (99.19%)

16535112.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14726601960.1 29 Apr 2025 08:57AM UTC 30
99.19
GitHub Action Run
Source Files on build 14726601960
  • Tree
  • List 30
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14726601960
  • dff2b475 on github
  • Prev Build on develop (#14716599665)
  • Next Build on develop (#14819396840)
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

© 2025 Coveralls, Inc