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:
parent
3a6844f482
commit
b6cebd127d
@ -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())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user