Backed out changeset 6d7a8e19086c (bug 1211262) for wError build bustage CLOSED TREE

This commit is contained in:
Wes Kocher 2015-10-13 13:59:15 -07:00
parent b1d9d9136d
commit 1c47713120

View File

@ -841,10 +841,8 @@ MOZ_WIN_MEM_TRY_BEGIN
// -- check if there is enough source data in the file
if (!offset ||
mFd->mLen < aItem->Size() ||
offset > mFd->mLen - aItem->Size() ||
aItem->Compression() == STORED && aItem->Size() != aItem->RealSize()) {
offset > mFd->mLen - aItem->Size())
return nullptr;
}
return mFd->mFileData + offset;
MOZ_WIN_MEM_TRY_CATCH(return nullptr)