mirror of
				https://github.com/aler9/gortsplib
				synced 2025-10-31 18:42:40 +08:00 
			
		
		
		
	prevent decoders from returning empty NALUs (bluenviron/mediamtx#4346) (#726)
This commit is contained in:
		| @@ -1,3 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("0") | ||||
| []byte("b0") | ||||
| bool(false) | ||||
| []byte("0") | ||||
| bool(false) | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/17e52f9247ad1b2a
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/17e52f9247ad1b2a
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("a0") | ||||
| bool(false) | ||||
| []byte("0") | ||||
| bool(true) | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/18fae30536d2c3ba
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/18fae30536d2c3ba
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("d0") | ||||
| bool(false) | ||||
| []byte("0") | ||||
| bool(true) | ||||
| @@ -1,3 +0,0 @@ | ||||
| go test fuzz v1 | ||||
| []byte("00") | ||||
| []byte("b00") | ||||
| @@ -1,3 +0,0 @@ | ||||
| go test fuzz v1 | ||||
| []byte("0") | ||||
| []byte("a00") | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/69e1cb9d2d26f61f
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/69e1cb9d2d26f61f
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("00") | ||||
| bool(false) | ||||
| []byte("b0\xc1") | ||||
| bool(true) | ||||
| @@ -1,3 +0,0 @@ | ||||
| go test fuzz v1 | ||||
| []byte("0") | ||||
| []byte("\xe50") | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/728cd1cec4fb0ff2
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/728cd1cec4fb0ff2
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("b00") | ||||
| bool(false) | ||||
| []byte("0") | ||||
| bool(false) | ||||
| @@ -1,3 +0,0 @@ | ||||
| go test fuzz v1 | ||||
| []byte("0") | ||||
| []byte("") | ||||
| @@ -1,3 +0,0 @@ | ||||
| go test fuzz v1 | ||||
| []byte("a0") | ||||
| []byte("") | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/9de59c1cbda7c1b0
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/9de59c1cbda7c1b0
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("0") | ||||
| bool(false) | ||||
| []byte("0") | ||||
| bool(true) | ||||
| @@ -1,3 +0,0 @@ | ||||
| go test fuzz v1 | ||||
| []byte("b0\xd2") | ||||
| []byte("0") | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/ab70f5936ef75670
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/ab70f5936ef75670
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("00") | ||||
| bool(false) | ||||
| []byte("00") | ||||
| bool(true) | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/af9c0e4e34bfcb3e
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/af9c0e4e34bfcb3e
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("a0\x00\t000000000") | ||||
| bool(false) | ||||
| []byte("b00") | ||||
| bool(true) | ||||
							
								
								
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/ba1f81d88619462f
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								pkg/format/rtph265/testdata/fuzz/FuzzDecoder/ba1f81d88619462f
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| go test fuzz v1 | ||||
| []byte("00") | ||||
| bool(false) | ||||
| []byte("a0\x00\x00") | ||||
| bool(true) | ||||
| @@ -1,3 +0,0 @@ | ||||
| go test fuzz v1 | ||||
| []byte("a000") | ||||
| []byte("0") | ||||
		Reference in New Issue
	
	Block a user
	 Alessandro Ros
					Alessandro Ros