]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix mpls label pointer comparison
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 15 Feb 2023 13:37:45 +0000 (14:37 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 26 Jan 2024 09:16:11 +0000 (10:16 +0100)
commitf254f4b6bdfd84de5d92af0e8f3bd73bff743791
treedbd514a462f843be287166363656cc78ca9dd34c
parent9b9abe165981979c47e4a2326f092d7cf64df1ea
bgpd: fix mpls label pointer comparison

Comparing pointers is not the appropriate way to know
if the label values are the same or not. Perform a
memcmp call instead is better.

Fixes: 8ba710505735 ("bgpd: fix valgrind flagged errors")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgp_route.c