mirror of
				https://github.com/aler9/rtsp-simple-server
				synced 2025-11-01 03:22:50 +08:00 
			
		
		
		
	improve fuzz tests (#3596)
This commit is contained in:
		| @@ -322,6 +322,9 @@ func FuzzUnmarshal(f *testing.F) { | ||||
| 	} | ||||
|  | ||||
| 	f.Fuzz(func(_ *testing.T, b []byte) { | ||||
| 		Unmarshal(b) //nolint:errcheck | ||||
| 		what, err := Unmarshal(b) | ||||
| 		if err == nil { | ||||
| 			Marshal(what) //nolint:errcheck | ||||
| 		} | ||||
| 	}) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alessandro Ros
					Alessandro Ros