start fuzzing i2np

This commit is contained in:
Hayden Parker
2017-07-07 18:20:59 -07:00
parent d1d01638de
commit a8e8975a6e
20 changed files with 50 additions and 2 deletions

View File

@ -133,3 +133,7 @@ func TestReadI2NPNTCPDataWithValidData(t *testing.T) {
assert.Equal([]byte{0x01, 0x02, 0x03}, data)
assert.Nil(err)
}
func TestCrasherRegression123781(t *testing.T) {
ReadI2NPNTCPHeader([]byte{0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x30})
}