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

@@ -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)
})
}