mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
Fixed chunk checksum validation cannot detect trailing garbage data. BUG#2074141 * src/AbstractSingleDiskAdaptor.cc * src/AbstractSingleDiskAdaptor.h * src/CheckIntegrityEntry.cc * src/CheckIntegrityEntry.h * src/DiskAdaptor.h * src/MultiDiskAdaptor.cc * src/MultiDiskAdaptor.h * src/RequestGroup.cc * test/DirectDiskAdaptorTest.cc * test/MultiDiskAdaptorTest.cc * test/TestUtil.cc * test/TestUtil.h
8 lines
141 B
C++
8 lines
141 B
C++
#include "common.h"
|
|
#include <string>
|
|
|
|
namespace aria2 {
|
|
|
|
void createFile(const std::string& filename, size_t length);
|
|
|
|
} // namespace aria2
|