Files
go-i2p/lib/common/fuzz/string/fuzz.go

14 lines
242 B
Go
Raw Normal View History

2017-04-07 21:51:56 -07:00
package exportable
import "github.com/hkparker/go-i2p/lib/common"
func Fuzz(data []byte) int {
str, _, _ := common.ReadString(data)
str.Data()
str.Length()
str, _ = common.ToI2PString(string(data))
str.Data()
str.Length()
return 0
}