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

Eyevinn / mp4ff / 34779250288
82%
master: 82%

Build:
Build:
LAST BUILD BRANCH: feat/paint-model-subtitle-boxes
DEFAULT BRANCH: master
Ran 13 Sep 2026 07:57PM UTC
Jobs 1
Files 213
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 Sep 2026 07:57PM UTC coverage: 82.072% (+0.007%) from 82.065%
34779250288

Pull #587

github

tobbee
fix(mp4): reject undersized boxes instead of underflowing the size

A box whose declared size is smaller than the fixed fields preceding its
children leaves startPos past endPos. dref, stsd and trep read their
children from 16 bytes in and meta from a computed offset, none of them
checking the size first, so endPos-startPos wrapped and the error
reported a parent size of about 1.8e19. Guard in both
DecodeContainerChildren and DecodeContainerChildrenSR, naming the
declared and the minimum size, which also makes every subtraction after
the guard safe.

DecodeEsdsSR had the same shape in hdr.Size-12. The wrapped value went
to DecodeESDescriptor, which ignores the parameter today, so nothing
misbehaved yet. Both the check and the descriptor size now measure the
payload rather than hdr.Size, which hardcoded an 8-byte header and would
be wrong for a box carrying an extended size.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #587: fix(mp4): reject undersized boxes instead of underflowing the size

12 of 12 new or added lines in 2 files covered. (100.0%)

4 existing lines in 2 files now uncovered.

22098 of 26925 relevant lines covered (82.07%)

0.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
73.84
-0.44% mp4/descriptors.go
2
78.57
-2.56% mp4/esds.go
Jobs
ID Job ID Ran Files Coverage
1 34779250288.1 13 Sep 2026 07:57PM UTC 213
82.07
GitHub Action Run
Source Files on build 34779250288
  • Tree
  • List 213
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #587
  • PR Base - master (#34778369252)
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