From: Junio C Hamano Date: Thu, 30 Jul 2026 17:40:47 +0000 (-0700) Subject: Merge branch 'cl/regexec-macos-leak' into jch X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=307168a04ace1ff0a26952a8809903ed35012b07;p=thirdparty%2Fgit.git Merge branch 'cl/regexec-macos-leak' into jch A compatibility workaround has been introduced for macOS to address a memory leak in the system regex engine when it encounters invalid multibyte sequences. The workaround segments the input buffer at invalid byte boundaries and searches each valid segment separately using regexec(), avoiding the leaking path. * cl/regexec-macos-leak: SQUASH??? regexec: work around macOS TRE leak on invalid UTF-8 --- 307168a04ace1ff0a26952a8809903ed35012b07