Pier Angelo Vendrame pushed to branch tor-browser-152.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: 6da2dea2 by Pier Angelo Vendrame at 2026-07-01T08:45:26+02:00 BB 45086: Make nsZipCursor::Copy return mBuf also when copying a stored file. - - - - - 1 changed file: - modules/libjar/nsZipArchive.cpp Changes: ===================================== modules/libjar/nsZipArchive.cpp ===================================== @@ -1198,6 +1198,7 @@ uint8_t* nsZipCursor::ReadOrCopy(uint32_t* aBytesRead, bool aCopy) { } else { *aBytesRead = mZs.avail_in > mBufSize ? mBufSize : mZs.avail_in; memcpy(mBuf, mZs.next_in, *aBytesRead); + buf = mBuf; mZs.avail_in -= *aBytesRead; mZs.next_in += *aBytesRead; } View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/6da2dea2... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/6da2dea2... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
Pier Angelo Vendrame (@pierov)