mirror of
https://github.com/aler9/gortsplib
synced 2025-10-07 16:10:59 +08:00
rewrite fuzz tests of decoders in order to get deterministic results (#261)
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0")
|
||||
bool(false)
|
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/5c3e3cea6fcbf660
vendored
Normal file
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/5c3e3cea6fcbf660
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("0\x00\x00\x00\x01\xff000\x00\x00@000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
||||
[]byte("0000\x01\xff000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
@@ -1,3 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0\x00\x00\x00\x01\xff000\x00\x00@0000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
@@ -1,3 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("0")
|
||||
bool(false)
|
||||
[]byte("0\x00\x00\x00\x01\xff00")
|
||||
bool(false)
|
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/acf99ee7fd60497d
vendored
Normal file
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/acf99ee7fd60497d
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("")
|
||||
bool(true)
|
||||
[]byte("")
|
||||
bool(false)
|
@@ -1,3 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0000\x01\xff00000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
@@ -1,3 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0000\x01\xff00")
|
||||
bool(false)
|
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/c582eb998d5b265e
vendored
Normal file
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/c582eb998d5b265e
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("0\x00\x00\x00\x01\xff000\x00\x00\x8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(false)
|
||||
[]byte("0000\x01\xff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(false)
|
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/f1b261959da64dfa
vendored
Normal file
5
pkg/formats/rtpmjpeg/testdata/fuzz/FuzzDecoder/f1b261959da64dfa
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
go test fuzz v1
|
||||
[]byte("0")
|
||||
bool(true)
|
||||
[]byte("0\x00\x00\x00\x01\xff000\x00\x00\x8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
@@ -1,3 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0000\x01\xff00000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(false)
|
Reference in New Issue
Block a user