BUG/MEDIUM: vars: run over the correct list in release_store_rules()
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2021 08:58:07 +0000 (10:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2021 09:01:12 +0000 (11:01 +0200)
commitc77bad24671bd92445d78db6667be47b201ee3dd
tree3351473df13a978a6f6e24623c7bd77070264650
parent9a621ae76dfbe94b44e1026752bf3cc77a903966
BUG/MEDIUM: vars: run over the correct list in release_store_rules()

In commit 9a621ae76 ("MEDIUM: vars: add a new "set-var-fmt" action")
we introduced the support for format strings in variables with the
ability to release them on exit, except that it's the wrong list that
was being scanned for the rule (http vs vars), resulting in random
crashes during deinit.

This was a recent commit in 2.5-dev, no backport is needed.
src/vars.c