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/rtpklv/testdata/fuzz/FuzzDecoder/03d4ef1236160dd5
vendored
Normal file
2
pkg/format/rtpklv/testdata/fuzz/FuzzDecoder/03d4ef1236160dd5
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\xd4\x00\x00\x00 00000000000\x06\x0e+4000000000000\x8800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\xb0")
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x06\x0e+4000000000000\x88%%%%\x88000000")
|
||||
bool(true)
|
||||
[]byte("\x06")
|
||||
bool(true)
|
||||
2
pkg/format/rtpklv/testdata/fuzz/FuzzDecoder/211cd279440a802d
vendored
Normal file
2
pkg/format/rtpklv/testdata/fuzz/FuzzDecoder/211cd279440a802d
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\xd4\x00\x00\x00 0D\xed00000000\x06\x0e+4000000000000\x81\xf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F\x00\x00\x00A0D\xee000100000000000000000000000000000000000000000000000000000000000000")
|
||||
2
pkg/format/rtpklv/testdata/fuzz/FuzzDecoder/3ffdb9600981d815
vendored
Normal file
2
pkg/format/rtpklv/testdata/fuzz/FuzzDecoder/3ffdb9600981d815
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("4\x00\x00\x00\x8000000000000\x06\x0e+4000000000000\xe700000000000000000000000")
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x06\x0e+4")
|
||||
bool(true)
|
||||
[]byte("0")
|
||||
bool(true)
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x06\x0e+4000000000000\x00")
|
||||
bool(false)
|
||||
[]byte("0")
|
||||
bool(false)
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x06\x0e+400000000000")
|
||||
bool(false)
|
||||
[]byte("0")
|
||||
bool(true)
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("0")
|
||||
bool(false)
|
||||
[]byte("")
|
||||
bool(false)
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x06\x0e+4000000000000\x88\x88000000")
|
||||
bool(false)
|
||||
[]byte("0")
|
||||
bool(true)
|
||||
2
pkg/format/rtpklv/testdata/fuzz/FuzzDecoder/a1fd7ee21f4be5f9
vendored
Normal file
2
pkg/format/rtpklv/testdata/fuzz/FuzzDecoder/a1fd7ee21f4be5f9
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
[]byte("\xd4\x00\x00\x00 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F\x00\x00\x00A000000000000000000000000000000000000000000000000000000000000000000000")
|
||||
@@ -1,5 +0,0 @@
|
||||
go test fuzz v1
|
||||
[]byte("\x06\x0e+4")
|
||||
bool(false)
|
||||
[]byte("000000000000\xc5")
|
||||
bool(true)
|
||||
Reference in New Issue
Block a user