mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
improve fuzz tests (#571)
This commit is contained in:
@@ -126,6 +126,10 @@ func TestHeaderWrite(t *testing.T) {
|
||||
}
|
||||
|
||||
func FuzzHeaderUnmarshal(f *testing.F) {
|
||||
for _, ca := range cases {
|
||||
f.Add(ca.enc)
|
||||
}
|
||||
|
||||
str := ""
|
||||
for i := 0; i < 300; i++ {
|
||||
str += "Key: val\r\n"
|
||||
|
Reference in New Issue
Block a user