فهرست منبع

more fuzz tests

Chris Bannister 10 سال پیش
والد
کامیت
a36b2607ab
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      frame_test.go

+ 2 - 0
frame_test.go

@@ -10,6 +10,8 @@ func TestFuzzBugs(t *testing.T) {
 	// and should cause a panic unless fixed.
 	tests := [][]byte{
 		[]byte("00000\xa0000"),
+		[]byte("\x8000\x0e\x00\x00\x00\x000"),
+		[]byte("\x8000\x00\x00\x00\x00\t0000000000"),
 	}
 
 	for i, test := range tests {