]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl_ckch: Don't delete a cert entry if it is being modified
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 31 May 2022 16:04:25 +0000 (18:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Jun 2022 14:28:15 +0000 (16:28 +0200)
commit926fefca8dba3ca7aed3ef7fccf6aa5cffe3cf05
treea670241d7928ebf142e0b2760f8c4033ba1c52ed
parent4329dcc2fcc44cfa0cc10a64c12f3f89ec118ae3
BUG/MEDIUM: ssl_ckch: Don't delete a cert entry if it is being modified

When a certificate entry is being modified, we must take care to no delete
it because the corresponding ongoing transaction still references it. If we
do so, it leads to a null-deref and a crash may be exeperienced if changes
are commited.

This patch must be backported as far as 2.2.
src/ssl_ckch.c