mirror of
https://github.com/aler9/gortsplib
synced 2025-12-24 13:38:08 +08:00
improve fuzz tests (#956)
This commit is contained in:
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/1afa321244c061e1
vendored
Normal file
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/1afa321244c061e1
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x14\x00\x00\x00\x00\x8000000000000\x00\x00\x000000")
|
||||
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/2c554fbca2622719
vendored
Normal file
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/2c554fbca2622719
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x87\x00\x00\x00A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/5a0d59f1b8826f53
vendored
Normal file
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/5a0d59f1b8826f53
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\xf4\x03\x00\x00 000000000000\x00\x00\x000\xff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0\x00\x00\x00\x01\xff000\x00\x00@000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
||||
[]byte("0000\x01\xff000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0")
|
||||
bool(false)
|
||||
[]byte("0\x00\x00\x00\x01\xff00")
|
||||
bool(false)
|
||||
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/8d05aa02657fb14c
vendored
Normal file
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/8d05aa02657fb14c
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\xf4\x03\x00\x00A00000000000000000000x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("")
|
||||
bool(true)
|
||||
[]byte("")
|
||||
bool(false)
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0\x00\x00\x00\x01\xff000\x00\x00\x8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(false)
|
||||
[]byte("0000\x01\xff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(false)
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0")
|
||||
bool(true)
|
||||
[]byte("0\x00\x00\x00\x01\xff000\x00\x00\x8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
bool(true)
|
||||
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/f408cc0299520840
vendored
Normal file
2
pkg/format/rtpmjpeg/testdata/fuzz/FuzzDecoder/f408cc0299520840
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\xf4\x03\x00\x00 000000000000\x00\x00\x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000m\x02\x00\x00 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
Reference in New Issue
Block a user