Pier Angelo Vendrame pushed to branch tor-browser-152.0a1-16.0-2 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • modules/libjar/nsZipArchive.cpp
    ... ... @@ -1198,6 +1198,7 @@ uint8_t* nsZipCursor::ReadOrCopy(uint32_t* aBytesRead, bool aCopy) {
    1198 1198
           } else {
    
    1199 1199
             *aBytesRead = mZs.avail_in > mBufSize ? mBufSize : mZs.avail_in;
    
    1200 1200
             memcpy(mBuf, mZs.next_in, *aBytesRead);
    
    1201
    +        buf = mBuf;
    
    1201 1202
             mZs.avail_in -= *aBytesRead;
    
    1202 1203
             mZs.next_in += *aBytesRead;
    
    1203 1204
           }