From: Maria Matejka Date: Tue, 7 Jun 2022 08:35:48 +0000 (+0200) Subject: IPv4 flowspec literals should reject IPv6 prefices in a well-behaved way X-Git-Tag: v2.0.10~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141fb51f1a3c22c45025426775c00f66c06406a7;p=thirdparty%2Fbird.git IPv4 flowspec literals should reject IPv6 prefices in a well-behaved way When writing flow4 { dst 2001:db8::dead:beef/128; }, BIRD crashed on an not-well-debuggable segfault as it tried to copy the whole 128-bit prefix into an IPv4-sized memory. --- diff --git a/conf/confbase.Y b/conf/confbase.Y index 6985783b4..5f45c5075 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -110,7 +110,7 @@ CF_DECLS %type expr bool pxlen4 %type