Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

libtac: fix double free in tac_acct_read_timeout #202

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

lsang6WIND
Copy link

Core dumped due:
"free(): double free detected in tcache 2"

re->msg should be freed by the caller as in comment 6380c5a, else it will create a dangling pointer.

Fixes: 6380c5a ("Replace deprecated bcopy() by memcpy()")

Fix #201

Core dumped due:
"free(): double free detected in tcache 2"

re->msg should be freed by the caller as in comment 6380c5a, else
it will create a dangling pointer.

Fixes: 6380c5a ("Replace deprecated bcopy() by memcpy()")
Signed-off-by: Loïc Sang <loic.sang@6wind.com>
@kravietz kravietz merged commit b89dba4 into kravietz:main Oct 12, 2023
3 of 5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core dumped due double free
2 participants