We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3717147 commit fad0919Copy full SHA for fad0919
compiler-rt/include/fuzzer/FuzzedDataProvider.h
@@ -158,7 +158,7 @@ FuzzedDataProvider::ConsumeRandomLengthString(size_t max_length) {
158
// picking its contents.
159
std::string result;
160
161
- // Reserve the anticipated capaticity to prevent several reallocations.
+ // Reserve the anticipated capacity to prevent several reallocations.
162
result.reserve(std::min(max_length, remaining_bytes_));
163
for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) {
164
char next = ConvertUnsignedToSigned<char>(data_ptr_[0]);
0 commit comments