Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 09:33:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   [Bug 272170] www/mod_auth_cookie_mysql2 is not thread-safe
Message-ID:  <bug-272170-16115-IIQ0QzOXmM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272170-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272170-16115@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272170

--- Comment #1 from Bob Bishop <rb@gid.co.uk> ---
It seems to be sufficient to add a mutex around the call to
check_valid_cookie() in mod_auth_cookie_sql2.c (and link with a thread-safe
mysql client library of course). Or avoid the problem by using the prefork =
MPM
if that works for you.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272170-16115-IIQ0QzOXmM>