git/compat
Junio C Hamano b63a070fdc 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
2026-09-01 11:16:27 -07:00
..
darwin regexec: work around macOS TRE leak on invalid UTF-8 2026-07-28 15:16:37 -07:00
fsmonitor fsmonitor: implement filesystem change listener for Linux 2026-04-15 08:44:33 -07:00
linux
poll unify and bump _WIN32_WINNT definition to Windows 8.1 2026-04-06 10:06:20 -07:00
regex compat/regex: explicitly mark intentional use of the comma operator 2025-03-28 17:38:11 -07:00
simple-ipc git-compat-util: introduce MEMZERO_ARRAY() macro 2025-12-11 14:44:43 +09:00
stub
vcbuild
win32 Merge branch 'ty/migrate-ignorecase' 2026-07-19 10:42:19 -07:00
.gitattributes
access.c
apple-common-crypto.h
basename.c
bswap.h bswap.h: provide a built-in based version of bswap32/64 if possible 2025-07-15 14:36:51 -07:00
compiler.h
darwin.h regexec: work around macOS TRE leak on invalid UTF-8 2026-07-28 15:16:37 -07:00
disk.h
fileno.c
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw-posix.h mingw: implement basic `symlink()` functionality (file symlinks only) 2026-01-09 18:32:55 -08:00
mingw.c Merge branch 'js/mingw-symlink-net-share-leak' 2026-08-05 11:10:52 -07:00
mingw.h environment: move has_symlinks into repo_config_values 2026-07-20 07:37:05 -07:00
mkdir.c
mmap.c compat/mmap: mark unused argument in git_munmap() 2025-11-18 09:36:05 -08:00
msvc-posix.h compat/msvc: use _chsize_s for ftruncate 2026-06-15 07:45:40 -07:00
msvc.c
msvc.h compat/mingw: split out POSIX-related bits 2025-02-18 10:55:39 -08:00
nonblock.c
nonblock.h
obstack.c
obstack.h
open.c object-file: move `git_open_cloexec()` to "compat/open.c" 2025-04-15 08:24:35 -07:00
posix.h compat/posix: introduce writev(3p) wrapper 2026-08-07 08:57:25 -07:00
pread.c compat/pread: check initial lseek for errors 2026-08-12 09:05:50 -07:00
precompose_utf8.c Merge branch 'ih/precompose-flex-array' 2026-07-16 23:05:48 -07:00
precompose_utf8.h precompose_utf8: use a flex array for d_name 2026-07-04 17:59:36 -07:00
qsort_s.c
regcomp_enhanced.c regexp: leave a pointer to resurrect workaround for Homebrew 2026-03-25 15:04:30 -07:00
setenv.c
sha1-chunked.c
sha1-chunked.h
snprintf.c
stat.c
strcasestr.c
strdup.c
strlcpy.c
strtoimax.c
strtoumax.c
terminal.c
terminal.h
unsetenv.c
win32.h mingw: teach dirent about symlinks 2026-01-09 18:32:55 -08:00
win32mmap.c
winansi.c compat/winansi: drop pre-Vista workaround 2026-04-06 10:06:22 -07:00
writev.c compat/posix: introduce writev(3p) wrapper 2026-08-07 08:57:25 -07:00
zlib-compat.h test-tool: add a helper to synthesize large packfiles 2026-05-09 11:25:32 +09:00