Use base::StringPiece instead of std::string for fuzz targets.
Use base::StringPiece in cases where caller expects input in std: :string is null terminated whereas base::StringPiece is not. base: :StringPiece as it helps to catch for overflow cases. Change-Id: I0c70d1f8c40fc5f0e826ced5073f563bc74d1d80 Reviewed-on: https://chromium-review.googlesource.com/978036 Commit-Queue: Abhishek Arya <inferno@chromium.org> Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:
Max Moroz <mmoroz@chromium.org> Reviewed-by:
Eric Roman <eroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#545604}
Showing
Please register or sign in to comment