eric.boehm {at} broadcom.com


Patch
r1938822

r1938822 | ivan | 2026-10-06 15:00:48 +0000 (Tue, 06 Oct 2026)

Fix a race condition in svnserve logging when running in threaded mode.

Memory allocations from the shared logger->pool were being performed 
before the logger->mutex was acquired, leading to potential pool 
corruption and SEGV crashes during high-frequency concurrent logging 
events (e.g. client connection reset bursts).

* subversion/svnserve/logger.c
  (log_message): Move apr_palloc() calls inside the mutex-protected critical
   section.

Patch by: eric.boehm {at} broadcom.com