Merge pull request #7477 from AdamKorcz/fuzz1
fuzzing: create structured tar bytes in archive fuzzer
This commit is contained in:
		| @@ -67,7 +67,7 @@ func FuzzApply(data []byte) int { | ||||
| // that targets archive.ImportIndex() | ||||
| func FuzzImportIndex(data []byte) int { | ||||
| 	f := fuzz.NewConsumer(data) | ||||
| 	tarBytes, err := f.GetBytes() | ||||
| 	tarBytes, err := f.TarBytes() | ||||
| 	if err != nil { | ||||
| 		return 0 | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fu Wei
					Fu Wei