소스 검색

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 {