jpeg: add fuzz tests

This commit is contained in:
aler9
2023-01-08 12:01:04 +01:00
parent 8a1dd54d61
commit c9d7b05308
15 changed files with 48 additions and 4 deletions

View File

@@ -32,3 +32,10 @@ func TestDefineRestartIntervalUnmarshal(t *testing.T) {
})
}
}
func FuzzDefineRestartIntervalUnmarshal(f *testing.F) {
f.Fuzz(func(t *testing.T, b []byte) {
var h DefineRestartInterval
h.Unmarshal(b)
})
}