1
0
Fork 0
forked from External/mediamtx

rtmp: add limit on message body size (#2252)

This commit is contained in:
Alessandro Ros 2023-08-26 22:44:33 +02:00 committed by GitHub
parent b72f3577c8
commit 34dc84de90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 180 additions and 71 deletions

View file

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

View file

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

View file

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

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00000000000000000000000000000000000000000000000000000000\xb0")

View file

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

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("\x00000\x00\x00\x04000000000\x800000000\xc0")

View file

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

View file

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

View file

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

View file

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

View file

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