]> git.ipfire.org Git - thirdparty/bird.git/commit
IPv4 flowspec literals should reject IPv6 prefices in a well-behaved way
authorMaria Matejka <mq@ucw.cz>
Tue, 7 Jun 2022 08:35:48 +0000 (10:35 +0200)
committerMaria Matejka <mq@ucw.cz>
Tue, 7 Jun 2022 08:38:32 +0000 (10:38 +0200)
commit141fb51f1a3c22c45025426775c00f66c06406a7
tree346a8a2bdb9eb0a4edf5ac3272a5cca5ec3da465
parentad686c55c3fad13f39e44ee5732c38296caff782
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.
conf/confbase.Y
conf/flowspec.Y