fuzz test for socks udp

pull/55/head
V2Ray 9 years ago
parent 3a6844f482
commit b6cebd127d

@ -27,3 +27,9 @@ func TestReadRequest(t *testing.T) {
ReadRequest(fuzzing.RandomReader()) ReadRequest(fuzzing.RandomReader())
} }
} }
func TestReadUDPRequest(t *testing.T) {
for i := 0; i < Iterations; i++ {
ReadUDPRequest(fuzzing.RandomBytes())
}
}

Loading…
Cancel
Save