]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: fix stack overflow with too many routes mq-2.16-ospf-stack-overflow
authorMaria Matejka <mq@ucw.cz>
Mon, 23 Dec 2024 16:05:09 +0000 (17:05 +0100)
committerMaria Matejka <mq@ucw.cz>
Mon, 23 Dec 2024 16:05:09 +0000 (17:05 +0100)
commit8a7aaf25d064232815178d110b05f8a031db5170
treeaa38270b55bf07822b4115b9abd8364e3153c1cf
parent4fb8fe6f53a0aba037b29d1ab92fb549f78de46f
OSPF: fix stack overflow with too many routes

We should not use alloca() in a loop.

This bug happened around 100k routes in OSPF, which
supposedly nobody runs in production.
proto/ospf/rt.c