| 1 | // SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly> |
| 2 | // SPDX-License-Identifier: MIT |
| 3 | |
| 4 | package rtcpscip-go gomod github.com/pion/rtcp . `github.com/pion/rtcp`/ |
| 5 | |
| 6 | import ( |
| 7 | "testingscip-go gomod github.com/golang/go/src go1.24.0 testing/" |
| 8 | ) |
| 9 | |
| 10 | func FuzzUnmarshalscip-go gomod github.com/pion/rtcp . `github.com/pion/rtcp`/FuzzUnmarshal().(f *testingscip-go gomod github.com/golang/go/src go1.24.0 testing/.Fscip-go gomod github.com/golang/go/src go1.24.0 testing/F#) { |
| 11 | f.Addscip-go gomod github.com/golang/go/src go1.24.0 testing/F#Add().([]byte{}) |
| 12 | |
| 13 | f.Fuzzscip-go gomod github.com/golang/go/src go1.24.0 testing/F#Fuzz().(func(_ *testingscip-go gomod github.com/golang/go/src go1.24.0 testing/.Tscip-go gomod github.com/golang/go/src go1.24.0 testing/T#, data []byte) { |
| 14 | packets, err := Unmarshalscip-go gomod github.com/pion/rtcp . `github.com/pion/rtcp`/Unmarshal().(data) |
| 15 | if err != nil { |
| 16 | return |
| 17 | } |
| 18 | |
| 19 | for _, packet := range packets { |
| 20 | _, err = packet.Marshalscip-go gomod github.com/pion/rtcp . `github.com/pion/rtcp`/Packet#Marshal.() |
| 21 | if err != nil { |
| 22 | return |
| 23 | } |
| 24 | } |
| 25 | }) |
| 26 | } |