formatdecenc: fix crash in MJPEG decoder; add fuzz tests

This commit is contained in:
aler9
2023-01-07 16:43:45 +01:00
parent 441a90a519
commit 0499d99e83
46 changed files with 232 additions and 582 deletions

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1c\xd4")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1c")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x1c0")