]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: shctx: add a few BUG_ON() for consistency checks
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Nov 2021 16:47:18 +0000 (17:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Nov 2021 18:25:13 +0000 (19:25 +0100)
commit48b608026b7c0d55a55b9746179542c7d524e84a
tree11940fcc18263be8488bfaaa04a61a41b752e7aa
parentcafe15c743f6bc1a9e624939e1851f215645e4f2
MINOR: shctx: add a few BUG_ON() for consistency checks

The shctx code relies on sensitive conditions that are hard to infer
from the code itself, let's add some BUG_ON() to verify them. They
helped spot the previous bugs.
src/shctx.c