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

Eyevinn / mp4ff / 36987980380
83%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2026 09:08AM UTC
Jobs 1
Files 217
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

02 Oct 2026 09:07AM UTC coverage: 82.496% (+0.03%) from 82.462%
36987980380

push

github

tobbee
fix(avc): reject out-of-range parameter set and slice header values

Fuzzing a decoder built on the avc package found inputs that make the
parsers misbehave instead of returning an error:

- ParseSliceHeader looped forever on num_ref_idx_l0_active_minus1 =
  0xFFFFFFFF with weighted prediction, since the uint32 counter of the
  pred_weight_table loop can never exceed it. Values above 31 (7.4.2.2,
  7.4.3) are now rejected in the slice header and the PPS defaults, before
  the uint32 conversion can truncate them.
- ParseSliceHeader returned a header with zeroed fields and no error for a
  NAL unit ending inside the slice header. It now returns the reader error.
- Frame cropping larger than the picture wrapped SPS.Width and SPS.Height
  around (e.g. 18446744073709551432). The offsets are now checked against
  the picture size (7.4.2.1.1) without adding them, and
  pic_width_in_mbs_minus1 and pic_height_in_map_units_minus1 are bounded by
  the largest MaxFS of any level (139264, levels 6-6.2 in Table A-1).
- Other values used as bit counts, table indices or QPs are checked against
  their spec ranges: chroma_format_idc (previously truncated to a byte),
  bit_depth_luma/chroma_minus8, log2_max_frame_num_minus4,
  log2_max_pic_order_cnt_lsb_minus4, pic_init_qp/qs_minus26,
  (second_)chroma_qp_index_offset, and SliceQPY = 26 + pic_init_qp_minus26
  + slice_qp_delta in [-QpBdOffsetY, 51]. A fuzzed slice_qp_delta of -3085
  made the decoder index its dequantization tables with a negative QP.

70 of 72 new or added lines in 3 files covered. (97.22%)

22943 of 27811 relevant lines covered (82.5%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
64.62
1.87% avc/slice.go
Jobs
ID Job ID Ran Files Coverage
1 36987980380.1 02 Oct 2026 09:08AM UTC 217
82.5
GitHub Action Run
Source Files on build 36987980380
  • Tree
  • List 217
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c5df4037 on github
  • Prev Build on master (#36541588957)
  • Next Build on master (#36990004664)
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