]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: spoe: dup agent's engine_id string from trash.area
authorKevin Zhu <ipandtcp@gmail.com>
Fri, 13 Mar 2020 02:39:51 +0000 (10:39 +0800)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Mar 2020 16:35:30 +0000 (17:35 +0100)
commit079f8087410bff34ebddeebc5c3a45185b8bca8e
treeead432857a888c75c1ab5f9e388defbfdc2531e9
parent83918e2ef13a5e7629a701d712ae4eede6bd19a5
BUG/MEDIUM: spoe: dup agent's engine_id string from trash.area

The agent's engine_id forgot to dup from trash, all engine_ids point to
the same address "&trash.area", the engine_id changed at run time and will
double free when release agents and trash.

This bug was introduced by the commit ee3bcddef ("MINOR: tools: add a generic
function to generate UUIDs").

No backport is needed, this is 2.2-dev.
src/flt_spoe.c