[libFuzzer] fix the bot (the no-assert build)

llvm-svn: 337437
This commit is contained in:
Kostya Serebryany 2018-07-19 03:16:12 +00:00
parent 79bd14772f
commit 7a6295f2e1
1 changed files with 1 additions and 0 deletions

View File

@ -549,6 +549,7 @@ size_t MutationDispatcher::MutateWithMask(uint8_t *Data, size_t Size,
assert(!T.empty());
size_t NewSize = Mutate(T.data(), OneBits, OneBits);
assert(NewSize <= OneBits);
(void)NewSize;
// Even if NewSize < OneBits we still use all OneBits bytes.
for (size_t I = 0, J = 0; I < Size; I++)
if (Mask[I])