This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-102.4.0esr-12.0-1 in repository tor-browser.
The following commit(s) were added to refs/heads/tor-browser-102.4.0esr-12.0-1 by this push: new 356511f2b66c Bug 41149: Re-enable DLL injection protection in all builds not just nightlies 356511f2b66c is described below
commit 356511f2b66c241a41434da4d34b3df976295ab5 Author: Dan Ballard dan@mindstab.net AuthorDate: Fri Oct 21 11:39:58 2022 -0700
Bug 41149: Re-enable DLL injection protection in all builds not just nightlies --- toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp b/toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp index 0c8292f68764..6300d47a2176 100644 --- a/toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp +++ b/toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp @@ -531,7 +531,7 @@ continue_loading: return ret; }
-#if defined(NIGHTLY_BUILD) +#if defined(NIGHTLY_BUILD) || defined(BASE_BROWSER) // Map of specific thread proc addresses we should block. In particular, // LoadLibrary* APIs which indicate DLL injection static void* gStartAddressesToBlock[4]; @@ -544,7 +544,7 @@ static bool ShouldBlockThread(void* aStartAddress) { return false; }
-#if defined(NIGHTLY_BUILD) +#if defined(NIGHTLY_BUILD) || defined(BASE_BROWSER) for (auto p : gStartAddressesToBlock) { if (p == aStartAddress) { return true; @@ -618,7 +618,7 @@ MFBT_API void DllBlocklist_Initialize(uint32_t aInitFlags) { } }
-#if defined(NIGHTLY_BUILD) +#if defined(NIGHTLY_BUILD) || defined(BASE_BROWSER) // Populate a list of thread start addresses to block. HMODULE hKernel = GetModuleHandleW(L"kernel32.dll"); if (hKernel) {
tbb-commits@lists.torproject.org