prevent decoders from returning empty NALUs (bluenviron/mediamtx#4346) (#726)

This commit is contained in:
Alessandro Ros
2025-03-22 22:45:54 +01:00
committed by GitHub
parent b6d6f6bf37
commit fa94080e84
44 changed files with 191 additions and 112 deletions

View File

@@ -2,4 +2,4 @@ go test fuzz v1
[]byte("0\x00")
bool(true)
[]byte("0")
bool(false)
bool(true)

View File

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

View File

@@ -1,5 +1,5 @@
go test fuzz v1
[]byte("\x190")
[]byte("\x180")
bool(false)
[]byte("\xd00")
bool(false)

View File

@@ -1,5 +1,5 @@
go test fuzz v1
[]byte("\xd00")
bool(false)
[]byte("")
[]byte("0")
bool(false)