Skip to content

Commit

Permalink
fix incorrect input region range
Browse files Browse the repository at this point in the history
  • Loading branch information
oraluben authored and dvyukov committed Apr 29, 2021
1 parent 2fedac3 commit fca3906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go-fuzz/testee.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func newTestBinary(fileName string, periodicCheck func(), stats *Stats, fnidx ui
comm: mapping,
periodicCheck: periodicCheck,
coverRegion: mem[:CoverSize],
inputRegion: mem[CoverSize : CoverSize+SonarRegionSize],
sonarRegion: mem[CoverSize+SonarRegionSize:],
inputRegion: mem[CoverSize : CoverSize+MaxInputSize],
sonarRegion: mem[CoverSize+MaxInputSize:],
stats: stats,
fnidx: fnidx,
testeeBuffer: make([]byte, testeeBufferSize),
Expand Down

0 comments on commit fca3906

Please sign in to comment.