mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 09:57:56 +03:00
pma: clear pending_flist after completion of _pending_flist_merge
use-after-free was responsible for crash
This commit is contained in:
parent
f68a95e1f2
commit
22fb321d05
@ -1134,6 +1134,7 @@ _pending_flist_merge(BT_state *state)
|
||||
src_head = src_head->next;
|
||||
free(prev);
|
||||
}
|
||||
state->pending_flist = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user