1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-30 07:46:41 -04:00

account fuzz test

This commit is contained in:
v2ray 2016-01-22 17:55:03 +01:00
parent c61cd2cf8f
commit 9ec238d161

View File

@ -0,0 +1,11 @@
// +build gofuzz
package command
func Fuzz(data []byte) int {
cmd := new(SwitchAccount)
if err := cmd.Unmarshal(data); err != nil {
return 0
}
return 1
}