mirror of
https://github.com/aler9/gortsplib
synced 2025-10-20 13:55:30 +08:00
ensure unmarshaled entities can be marshaled back (#773)
This commit is contained in:
@@ -54,8 +54,10 @@ func FuzzBodyUnmarshal(f *testing.F) {
|
||||
"Content-Length": HeaderValue{a},
|
||||
},
|
||||
bufio.NewReader(bytes.NewReader(b)))
|
||||
if err == nil {
|
||||
p.marshal()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
p.marshal()
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user