mirror of
https://github.com/aria2/aria2.git
synced 2024-12-14 09:28:55 +00:00
76a9ad9c84
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
9 lines
141 B
C++
9 lines
141 B
C++
#include "common.h"
|
|
#include <string>
|
|
|
|
namespace aria2 {
|
|
|
|
void createFile(const std::string& filename, size_t length);
|
|
|
|
} // namespace aria2
|