0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
dwight 2011-02-22 17:46:12 -05:00
parent 992951f536
commit 7e6c8199ce

View File

@ -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;