account fuzz test

pull/73/head
v2ray 9 years ago
parent c61cd2cf8f
commit 9ec238d161

@ -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
}
Loading…
Cancel
Save