]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: jwt: Double free in deinit function
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 4 Feb 2022 13:06:34 +0000 (14:06 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 15 Feb 2022 19:08:20 +0000 (20:08 +0100)
commit4930c6c869fb875554d60ce9a2d6362cf16cf295
tree1f0ede22078765563b98d4283ae5e5e5bba150c9
parent31e4f6e1491918bd1e9d28f49e52a3962c9605f5
BUG/MINOR: jwt: Double free in deinit function

The node pointer was not moving properly along the jwt_cert_tree during
the deinit which ended in a double free during cleanup (or when checking
a configuration that used the jwt_verify converter with an explicit
certificate specified).

This patch fixes GitHub issue #1533.
It should be backported to 2.5.
src/jwt.c