]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix crash in displaying json orf prefix-list 17818/head
authorLouis Scalbert <louis.scalbert@6wind.com>
Thu, 9 Jan 2025 17:28:53 +0000 (18:28 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 9 Jan 2025 20:59:57 +0000 (20:59 +0000)
commitac7db8ff709bb2c7e1dd7c26d5f9a97bdf737181
treef29b8257ec94392db751a1520803bcd8e7711efc
parent085225812322e7667260dfb446fae31fe5edd4b6
bgpd: fix crash in displaying json orf prefix-list

bgpd crashes when there is several entries in the prefix-list. No
backtrace is provided because the issue was catched from a code review.

Fixes: 856ca177c4 ("Added json formating support to show-...-neighbors-... bgp commands.")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
(cherry picked from commit 8ccf60921b85893d301186a0f8156fb702da379f)
lib/plist.c