mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
improve fuzz tests (#571)
This commit is contained in:
@@ -836,6 +836,10 @@ func TestSessionFindFormat(t *testing.T) {
|
||||
}
|
||||
|
||||
func FuzzSessionUnmarshalErrors(f *testing.F) {
|
||||
for _, ca := range casesSession {
|
||||
f.Add(ca.in)
|
||||
}
|
||||
|
||||
f.Add("v=0\r\n" +
|
||||
"o=jdoe 2890844526 2890842807 IN IP4 10.47.16.5\r\n" +
|
||||
"s=SDP Seminar\r\n" +
|
||||
|
Reference in New Issue
Block a user