Fuzz Http in chunks

This commit is contained in:
Alex Hultman
2019-04-03 02:59:24 +02:00
parent af9513e3e4
commit cd00bfc779
3 changed files with 36 additions and 37 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ public:
int maxCopyDistance = std::min(MAX_FALLBACK_SIZE - fallback.length(), (size_t) length);
fallback.reserve(maxCopyDistance + 32); // todo: padding should be same as libus
fallback.reserve(fallback.length() + maxCopyDistance + 32); // todo: padding should be same as libus
fallback.append(data, maxCopyDistance);
// break here on break