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

Eyevinn / mp4ff
82%

Build:
DEFAULT BRANCH: master
Repo Added 01 Nov 2024 09:40PM UTC
Files 210
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • aac-asc-header
  • av1-crypto-rap
  • av1-update
  • avcc-encode-trailing-info
  • avcc-preserve-trailing-bytes
  • avs3
  • chore-bump-min-go-1.18
  • chore-bump-min-go-1.19
  • chore/prepare-v0.53.0
  • chore/prepare-v0.56.0
  • chore/remove-goreportcard-badge
  • ci/checkout-v7
  • codespell
  • colr-icc-decode
  • compressorname-length-clamp
  • dac4
  • decode-box-body-sr
  • defragment-core
  • defragment-hybrid
  • defragment-overlaps
  • docs/changelog-dec3-joc
  • docs/install-instructions
  • elst-media-rate
  • esds-vocabulary
  • feat-coll-box
  • feat-create-sei-nalu
  • feat-hevc-encrypt
  • feat-ivf
  • feat-lbli-sample-group
  • feat-lhvc-box
  • feat-linf-oinf-sample-groups
  • feat-mvhevc-builders
  • feat-mvhevc-cli
  • feat-trgr-track-group
  • feat-vexu-spatial-video
  • feat-vp-codec-sample-box
  • feat-vps-multilayer-extension
  • feat/av1-metadata-obu-cea608
  • feat/dolby-vision-dvh1-dvhe
  • feat/hevc-hdr-boxes
  • feat/motion-jpeg
  • feat/mov-decoder
  • feat/piff
  • feat/stream-read-mdat-data
  • feature-encryption-boxes
  • feature/exporttfhd
  • fix-avcdecoderconfig
  • fix-bound-more-bitstream-counts
  • fix-co64-size-overflow
  • fix-goreleaser-brew
  • fix-hevc-ps-dos
  • fix-interleaved-sidx-boxes
  • fix-mime-box
  • fix-senc-panic
  • fix-senc-robustness
  • fix-short-esds-issue-393
  • fix-sliceheader-spsid
  • fix-sps-num-ref-frames-overflow
  • fix-ssix-box
  • fix-stsc
  • fix-subs-box
  • fix-trailing-avc1-bytes
  • fix-typos
  • fix-vps-ols0-necessary-layers
  • fix/cenc-encrypt-conformance
  • fix/cenc-increment
  • fix/get-sample-data-indexing
  • fix/hevc-slice-deblocking-inference
  • fix/oob-panics
  • fix/sdtp-entry-depends-on
  • fix/sei-nalu-short-panic
  • fix/trun-mdat-bounds
  • flac
  • fuzz-box
  • go-releaser
  • golangci-lint-v2
  • handle-trailing-avc1-bytes
  • hevc-vps
  • iMro0t-feature-encryption-boxes
  • iMro0t-fix-avcdecoderconfig
  • improve-av1
  • improved-crypt-tools
  • issue-492
  • labl-box
  • lpcm-format-flags
  • mdat-header-size
  • mdhd-dur-info
  • minimal-ac4
  • more-robust-decode
  • mp4-blackbox-test
  • mpeg-h
  • new-pssh-func
  • normalize-quicktime
  • opus
  • parse-joc-dolby-atmos
  • patch-1
  • perf/bulk-table-decode
  • qt-legacy-audio-entries
  • qt-sound-descriptions
  • release/v0.51.0
  • release/v0.52.0
  • release/v0.54.0
  • release/v0.55.0
  • remove-homebrew-cask
  • return-partial-files
  • sampleflags-test
  • sei-recovery-point
  • spherical-v1-no-xml
  • sphericalv1
  • stream-process
  • test-header-parsing
  • test-visualsampleentry
  • tkhd-preserve-matrix
  • update-changelog
  • update-coverage-job
  • update-docs
  • update-make
  • v0.48.0
  • v0.49.0
  • v0.50.0
  • vtpl1-master
  • vvc
  • vvc-nal-headers
  • wave-box
  • wave-box-followups
  • weird-dac3

26 Aug 2026 11:30AM UTC coverage: 81.54% (+0.02%) from 81.523%
32963641047

push

github

tobbee
fix(mp4): error instead of panic when trun sample sizes exceed mdat data

A truncated file whose moof decodes cleanly but whose mdat carries
fewer bytes than the trun-declared sample sizes made
TrunBox.GetFullSamples and TrunBox.GetSampleInterval slice past the
end of mdat.Data and panic with index out of range (found by fuzzing
a fragmented-mp4 parser built on Fragment.GetFullSamples).

GetFullSamples gains an error return (pre-1.0 signature change);
GetSampleInterval already returned an error. Fragment.GetFullSamples
propagates the error with an unchanged signature.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

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

20831 of 25547 relevant lines covered (81.54%)

0.82 hits per line

Relevant lines Covered
Build:
Build:
25547 RELEVANT LINES 20831 COVERED LINES
0.82 HITS PER LINE
Source Files on master
  • Tree
  • List 210
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32963641047 master fix(mp4): error instead of panic when trun sample sizes exceed mdat data A truncated file whose moof decodes cleanly but whose mdat carries fewer bytes than the trun-declared sample sizes made TrunBox.GetFullSamples and TrunBox.GetSampleInterval ... push 26 Aug 2026 11:30AM UTC tobbee github
81.54
32961946922 master fix(mp4): GetSampleData panicked when startSampleNr > 1 The result slice is sized to the requested interval but was indexed with the absolute sample number (samples[nr-1]), so any interval not starting at sample 1 wrote past the end and panicked ... push 26 Aug 2026 11:10AM UTC tobbee github
81.52
32867188320 master fix(mp4): NewSdtpEntry dropped sampleDependsOn NewSdtpEntry packed the sampleDependedOn argument into both two-bit dependency fields (bits 5-4 and 3-2) and never used sampleDependsOn, so every entry built with the constructor carried a wrong samp... push 25 Aug 2026 03:40PM UTC tobbee github
81.52
32578564881 master chore: prepare v0.56.0 release push 22 Aug 2026 02:23PM UTC tobbee github
81.52
32485152888 master fix(hevc): infer the remaining absent slice header fields per 7.4.7.1 The parser already seeded collocated_from_l0_flag and num_ref_idx_l0/l1_active_minus1 with their inferred values, but three more fields were left at the Go zero value when abse... push 21 Aug 2026 01:07PM UTC tobbee github
81.52
32375749793 master chore: tidy CLAUDE.md push 20 Aug 2026 01:42PM UTC tobbee github
81.52
32373487489 master feat(mp4): decode QuickTime audio sample entries .mp3, lpcm, twos, and sowt These QuickTime sample description names use the standard sound sample description layout, but fell through to UnknownBox, so their channel count, sample size, and sample... push 20 Aug 2026 01:18PM UTC tobbee github
81.5
32372130586 master feat(mp4): name the QuickTime lpcm format flags The FormatSpecificFlags field of a QuickTimeV2SoundDescription carries the CoreAudio/QTFF linear-PCM format flags, so callers had to know the kAudioFormatFlag* bit layout to tell float from integer ... push 20 Aug 2026 01:03PM UTC tobbee github
81.49
32371616985 master 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 di... push 20 Aug 2026 12:58PM UTC tobbee github
81.48
32370724310 master feat(mp4): elst media rate as one signed 16.16 fixed-point number ElstEntry splits the media rate over MediaRateInteger and MediaRateFraction, so reading or writing the actual rate required callers to know the split int16/int16 bit layout, includ... push 20 Aug 2026 12:48PM UTC tobbee github
81.48
See All Builds (402)
  • Repo on GitHub
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