Kaynağa Gözat

more fuzz tests

Chris Bannister 10 yıl önce
ebeveyn
işleme
a36b2607ab
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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 {