summaryrefslogtreecommitdiff
path: root/ripd/rip_cli.c
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2021-08-09 11:57:17 -0400
committerMark Stapp <mjs.ietf@gmail.com>2021-08-19 13:31:33 -0400
commit8fd5502b0c2e628b875fdaf1a0ca467f8ba07ce4 (patch)
treeec1d1a62ec8ca61b7476f4d6f83d92699a26f9ad /ripd/rip_cli.c
parentcf2182c013e57fbcb98ff0f42be7f0d1542c51df (diff)
lib: avoid double-free in zmq wrapper callbacks
There were paths where the zmq wrapper lib could call user callbacks that would free the internal context struct, but the context was then used in the lib code. Use a boolean to avoid freeing the context within an application callback. Restore logic that frees the context within the 'cancel' api. Signed-off-by: Mark Stapp <mjs.ietf@gmail.com>
Diffstat (limited to 'ripd/rip_cli.c')
0 files changed, 0 insertions, 0 deletions