1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-17 23:06:30 -05:00

fuzz test for socks udp

This commit is contained in:
V2Ray 2015-11-10 18:16:13 +01:00
parent 3a6844f482
commit b6cebd127d

View File

@ -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())
}
}