]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: fix crash on qcc_init() early return
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 2 Oct 2024 08:21:02 +0000 (10:21 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 2 Oct 2024 15:06:31 +0000 (17:06 +0200)
commit58b7a72d0701310933d7d52549bdfd40ff14e273
tree7c29c201f8e5e136fb705d48b24482f229dd561f
parentcea1379cf1fcd5fd9c3b3b104f4c5374bc44bce2
BUG/MINOR: mux-quic: fix crash on qcc_init() early return

qcc_release() may be used in case qcc_init() cannot complete. In this
case, connection instance is NULL. As such, it cannot be dereferenced
without testing it first.

This should fix github coverity report #2739.

No backport needed.
src/mux_quic.c