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

Eyevinn / hi264 / 37934260481
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: ver-0-11-0
DEFAULT BRANCH: main
Ran 09 Oct 2026 01:04PM UTC
Jobs 1
Files 53
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

09 Oct 2026 01:03PM UTC coverage: 88.255% (-0.008%) from 88.263%
37934260481

Pull #37

github

tobbee
fix: reject an out-of-range mb_qp_delta

The CAVLC decoder took the se(v) value of mb_qp_delta without a range check. A large negative value makes the dividend of equation 7-37 negative, Go's % keeps the sign, and the negative QPY then indexes the dequantisation tables with qp%6 < 0 and panics. This was reachable from DecodeNALUs on untrusted input.

Both entropy coders now go through SliceContext.applyQPDelta, which rejects an mb_qp_delta outside -(26 + QpBdOffsetY/2)..+(25 + QpBdOffsetY/2) (section 7.4.5) before the QPY update. mp4ff already keeps SliceQPY in -QpBdOffsetY..51, so an in-range mb_qp_delta keeps the wrap non-negative. The check also closes the CABAC gap where the unary-length bound from #33 still let +26 through (harmless there). qpDeltaMaxUnary is now derived from the new qpDeltaRange.

The fuzz input from the issue is added to the corpus. Since the multi-slice change (#36) that input is rejected earlier (the slice runs past the last macroblock), so TestDecodeRejectsOutOfRangeQPDelta builds a one-macroblock CAVLC slice with the boundary values and with -100, which panics without this fix. deblockOffsetStream becomes oneMBStream to take mb_qp_delta.

Closes #35
Pull Request #37: fix: reject an out-of-range mb_qp_delta

21 of 23 new or added lines in 2 files covered. (91.3%)

8747 of 9911 relevant lines covered (88.26%)

1.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
81.21
-0.19% internal/slice/slicedata.go
Jobs
ID Job ID Ran Files Coverage
1 37934260481.1 09 Oct 2026 01:04PM UTC 53
88.26
GitHub Action Run
Source Files on build 37934260481
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #37
  • PR Base - main (#37933279793)
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