mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-14 15:18:44 +00:00
22f54eaee6
Memory allocation is a fragile part of BIRD and we need checking that everybody is using the resource pools in an appropriate way. To assure this, all the resource pools are associated with locking domains and every resource manipulation is thoroughly checked whether the appropriate locking domain is locked. With transitive resource manipulation like resource dumping or mass free operations, domains are locked and unlocked on the go, thus we require pool domains to have higher order than their parent to allow for this transitive operations. Adding pool locking revealed some cases of insecure memory manipulation and this commit fixes that as well. |
||
---|---|---|
.. | ||
config.Y | ||
dbdes.c | ||
Doc | ||
hello.c | ||
iface.c | ||
lsack.c | ||
lsalib.c | ||
lsalib.h | ||
lsreq.c | ||
lsupd.c | ||
Makefile | ||
neighbor.c | ||
ospf.c | ||
ospf.h | ||
packet.c | ||
rt.c | ||
rt.h | ||
topology.c | ||
topology.h |