• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

Eyevinn / mp4ff / 34431760844
82%
master: 82%

Build:
Build:
LAST BUILD BRANCH: feat/paint-model-subtitle-boxes
DEFAULT BRANCH: master
Ran 13 Sep 2026 08:20PM 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

10 Sep 2026 03:01AM UTC coverage: 81.914% (+0.02%) from 81.894%
34431760844

Pull #581

github

youdie006
fix(mp4): reject ftyp and styp boxes with a payload shorter than 8 bytes

MajorBrand slices data[:4] and MinorVersion slices data[4:8] with no
guard, and CompatibleBrands computes (len(data)-8)/4, which goes
negative. A box declaring an 8-byte size therefore decoded without
error and then panicked on first access:

  $ mp4ff-info short.mp4
  [ftyp] size=8
  panic: runtime error: slice bounds out of range [:4] with capacity 0

Check the payload length at decode, the way DecodeSdtpSR, DecodeMimeSR
and DecodeFrmaSR already do.

styp needs two guards because DecodeStyp does not delegate to
DecodeStypSR the way DecodeFtyp does.
Pull Request #581: fix(mp4): reject ftyp and styp boxes with a payload shorter than 8 bytes

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

21830 of 26650 relevant lines covered (81.91%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34431760844.1 13 Sep 2026 08:20PM UTC 213
81.91
GitHub Action Run
Source Files on build 34431760844
  • Tree
  • List 213
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #581
  • PR Base - master (#34092861338)
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