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

Eyevinn / mp4ff / 32371616985
82%

Build:
DEFAULT BRANCH: master
Ran 20 Aug 2026 12:58PM UTC
Jobs 1
Files 209
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

20 Aug 2026 12:57PM UTC coverage: 81.484% (+0.004%) from 81.48%
32371616985

push

github

tobbee
fix: bound more parameter counts read from bitstreams and boxes

Three more places size an allocation, or drive an append loop, from a count taken straight from attacker-controlled input, in the same way as num_ref_frames_in_pic_order_cnt_cycle did:

- avc num_slice_groups_minus1 (max 7 for any profile per Annex A) drives the
  run_length/top_left/slice_group_id append loops: a 7-byte PPS NAL unit
  allocated 10.4 GiB.
- hevc vps_num_hrd_parameters sizes a slice and allocates HRD parameters per
  iteration: a 33-byte VPS NAL unit churned 30 GiB. Its spec bound is
  vps_num_layer_sets_minus1 + 1, so bound that field to its own 0-1023 range
  first, which also stops the layer_id_included_flag loop from spinning.
- the alst sample group entry computes its optional entry count as a uint32
  subtraction that underflows when roll_count implies more bytes than
  description_length: a 32-byte sgpd box allocated 4 GiB.

Bound each count against its spec range before allocating, matching the style
of the existing checks in hevc/sps.go. The added tests use magnitudes that
fail the assertion cheaply if a check is removed, rather than exhausting
memory on the test runner.

18 of 19 new or added lines in 3 files covered. (94.74%)

1 existing line in 1 file now uncovered.

20718 of 25426 relevant lines covered (81.48%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.01
-1.04% mp4/samplegroupentries.go

Coverage Regressions

Lines Coverage ∆ File
1
81.01
-1.04% mp4/samplegroupentries.go
Jobs
ID Job ID Ran Files Coverage
1 32371616985.1 20 Aug 2026 12:58PM UTC 209
81.48
GitHub Action Run
Source Files on build 32371616985
  • Tree
  • List 209
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f484abdd on github
  • Prev Build on master (#32370724310)
  • Next Build on master (#32372130586)
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