mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
comment
This commit is contained in:
parent
992951f536
commit
7e6c8199ce
@ -131,6 +131,7 @@ namespace mongo {
|
||||
|
||||
bool checkHash(const void* begin, int len) const {
|
||||
// skip section header since size modified after hashing
|
||||
// todo: skipping the header must be fixed, as we won't catch corruption of it then...
|
||||
(const char*&)begin += sizeof(JSectHeader);
|
||||
len -= sizeof(JSectHeader);
|
||||
md5digest current;
|
||||
|
Loading…
Reference in New Issue
Block a user