From: Maria Matejka Date: Thu, 20 Nov 2025 13:35:02 +0000 (+0100) Subject: BMP: Fix crash when exporting a route with non-bgp attributes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6610affc19b60785f6da9f6efe9bf12cbb85c025;p=thirdparty%2Fbird.git BMP: Fix crash when exporting a route with non-bgp attributes Reported-By: Annika Hannig --- diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 4581e1f91..fcaff7459 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -2554,6 +2554,7 @@ bgp_create_update_bmp(struct bgp_channel *c, byte *buf, byte *end, struct bgp_bu .add_path = c->add_path_rx, .mpls = c->desc->mpls, .sham = 1, + .ignore_non_bgp_attrs = 1, }; if (!update)