浏览代码

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.
 	// and should cause a panic unless fixed.
 	tests := [][]byte{
 	tests := [][]byte{
 		[]byte("00000\xa0000"),
 		[]byte("00000\xa0000"),
+		[]byte("\x8000\x0e\x00\x00\x00\x000"),
+		[]byte("\x8000\x00\x00\x00\x00\t0000000000"),
 	}
 	}
 
 
 	for i, test := range tests {
 	for i, test := range tests {