Commit 7ebd166f authored by Philip Carns's avatar Philip Carns
Browse files

bugfix for use of unset fields in reverse handler

parent debe34c0
......@@ -163,6 +163,8 @@ void fcfs_add (
model_net_sched_rc *rc,
tw_lp *lp){
mn_sched_qitem *q = malloc(sizeof(mn_sched_qitem));
memset(q, 0, sizeof(*q));
q->req = *req;
q->rem = req->is_pull ? PULL_MSG_SIZE : req->msg_size;
if (remote_event_size > 0){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment