mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-14 06:46:11 +00:00
fuzz test for socks udp
This commit is contained in:
1 parent
3a6844f482
commit
b6cebd127d
1 file changed
+6
@@ -27,3 +27,9 @@ func TestReadRequest(t *testing.T) {
|
||||
ReadRequest(fuzzing.RandomReader())
|
||||
}
|
||||
}
|
||||
|
||||
func TestReadUDPRequest(t *testing.T) {
|
||||
for i := 0; i < Iterations; i++ {
|
||||
ReadUDPRequest(fuzzing.RandomBytes())
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user