mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 09:57:56 +03:00
pma: fix use-after-free of pending_nlist pointer
This commit is contained in:
parent
21a1fcce39
commit
46ffb737ac
@ -1175,6 +1175,7 @@ _pending_nlist_merge(BT_state *state)
|
|||||||
src_head = src_head->next;
|
src_head = src_head->next;
|
||||||
free(prev);
|
free(prev);
|
||||||
}
|
}
|
||||||
|
state->pending_nlist = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user