BIRD 2.0.7 segfault in route filters
Ondrej Zajicek
santiago at crfreenet.org
Mon Dec 28 21:31:33 CET 2020
On Mon, Dec 28, 2020 at 07:23:51PM +0100, Ondrej Zajicek wrote:
> On Mon, Dec 28, 2020 at 06:47:29PM +0100, Damian Zaremba wrote:
> > Hi,
> >
> > Thanks for the fast response and fix - I can confirm that is working as
> > expected on my side.
> >
> > Unfortunately I did discover another segfault (testing from current master)
> > which appears to be due to `net` being uninitialised in the route specific
> > filters;
>
> > This was originally triggered in a function call that used an `if net ~ set`
> > operation, so while the above config doesn't really make practical sense
> > it's the smallest filter I could make to repeatedly trigger the issue.
Hi
Fixed by the attached patch. Implementation of 'net' attribute is kind of
ugly and requires some hacks, which were missing here.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-static-net.patch
Type: text/x-diff
Size: 1045 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20201228/d3c1eb41/attachment.bin>
More information about the Bird-users
mailing list