mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
jpeg: add fuzz tests
This commit is contained in:
@@ -40,3 +40,10 @@ func TestStartOfScanMarshal(t *testing.T) {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func FuzzStartOfScanUnmarshal(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, b []byte) {
|
||||
var h StartOfScan
|
||||
h.Unmarshal(b)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user