Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle panics and infinite loops found via fuzzer #43

Merged
merged 8 commits into from
Nov 16, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove accidental testdata from test
eric committed Nov 16, 2022
commit e2336fe2e3d90d82de8f4702786d700bc2034597
1 change: 0 additions & 1 deletion demuxer_test.go
Original file line number Diff line number Diff line change
@@ -196,7 +196,6 @@ func BenchmarkDemuxer_NextData(b *testing.B) {
}

func FuzzDemuxer(f *testing.F) {
f.Add([]byte("content"))
f.Fuzz(func(t *testing.T, b []byte) {
r := bytes.NewReader(b)
dmx := NewDemuxer(context.Background(), r, DemuxerOptPacketSize(188))