summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-30 08:11:25 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-30 08:11:25 +0000
commit349b96d286538dc9f4f68070657f68385d68d50b (patch)
tree107f7b3b992f98238a2586ea07c2bed23d040002 /src
parentb2610a681dde939db5eabd22ccdb71aecf76a825 (diff)
parent2ea9647c275fc376ecb0c8f53a89e4c048d379df (diff)
downloadouroboros-349b96d286538dc9f4f68070657f68385d68d50b.tar.gz
ouroboros-349b96d286538dc9f4f68070657f68385d68d50b.zip
Merged in dstaesse/ouroboros/be-cdap-fix (pull request #436)
lib: Fix heap-use-after-free in CDAP
Diffstat (limited to 'src')
-rw-r--r--src/lib/cdap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cdap.c b/src/lib/cdap.c
index f5e0593d..54a5b262 100644
--- a/src/lib/cdap.c
+++ b/src/lib/cdap.c
@@ -727,8 +727,8 @@ int cdap_reply_wait(struct cdap * instance,
ret = r->response;
- cdap_sent_del(instance, r);
release_id(instance, r->iid);
+ cdap_sent_del(instance, r);
return ret;
}