Skip to content

Commit

Permalink
fuzz: improve target perf (#864)
Browse files Browse the repository at this point in the history
This attempts to improve issue types like timeout, slow_unit
and speed, as seen in the following oss-fuzz performance report:
https://oss-fuzz.com/performance-report/libFuzzer_go-toml_fuzz_toml/libfuzzer_asan_go-toml/2023-05-11
  • Loading branch information
manunio committed May 12, 2023
1 parent d34104d commit 55ca4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ossfuzz/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func FuzzToml(data []byte) int {
if len(data) >= 10240 {
if len(data) >= 2048 {
return 0
}

Expand Down

0 comments on commit 55ca4e3

Please sign in to comment.