tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 715789ae2130095ac08223b76eae619b045e11f0
parent 4594e5cf4014d8f70ee9786521eed2006031b2e5
Author: Andrew McCreight <continuation@gmail.com>
Date:   Thu, 23 Oct 2025 13:35:27 +0000

Bug 1995768 - Error if STL hardening fails when it is explicitly enabled in a debug build. r=glandium

This was unintentionally regressed by bug 1994784.

Differential Revision: https://phabricator.services.mozilla.com/D269594

Diffstat:
Mbuild/moz.configure/toolchain.configure | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure @@ -3016,8 +3016,8 @@ def stl_hardening_flags( return ["-D_LIBCPP_ENABLE_ASSERTIONS=1"] # Debug builds don't ship to users, so it is fine if STL hardening is - # silently skipped. - if debug: + # silently skipped, unless it has been explicitly enabled. + if debug and enabled.origin == "default": return die("C++ STL does not support hardening")