-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"show bgp l2vpn evpn neighbors 52.1.1.1 advertised-routes json" command results in BGP daemon crash #5010
Comments
Fix is part of larger diff: #5078 |
lkrishnamoor
added a commit
to lkrishnamoor/frr
that referenced
this issue
Sep 27, 2019
Display output from adj_out instead of the rib table. Also fixes crash for the json output. RCA: prefix is written to json object using inet_ntop. But, this api returns null buffer for AF_EVPN address family (it works only for AF_INET and AF_INET6). This null buffer is then deref'd by json-object-to string api. Full output shown in PR: FRRouting#5078 Crash issue: FRRouting#5010 Signed-off-by: Lakshman Krishnamoorthy <[email protected]>
lkrishnamoor
added a commit
to lkrishnamoor/frr
that referenced
this issue
Sep 27, 2019
… json Display output from adj_out instead of the rib table. Also fixes crash for the json output. RCA: prefix is written to json object using inet_ntop. But, this api returns null buffer for AF_EVPN address family (it works only for AF_INET and AF_INET6). This null buffer is then deref'd by json-object-to string api. Full output shown in PR: FRRouting#5078 Crash issue: FRRouting#5010 Signed-off-by: Lakshman Krishnamoorthy <[email protected]>
@karamalla0406 I see this is already fixed? |
I don't see this issue with the latest build. closing it. |
SumitAgarwal123
pushed a commit
to SumitAgarwal123/frr
that referenced
this issue
Nov 19, 2019
… json Display output from adj_out instead of the rib table. Also fixes crash for the json output. RCA: prefix is written to json object using inet_ntop. But, this api returns null buffer for AF_EVPN address family (it works only for AF_INET and AF_INET6). This null buffer is then deref'd by json-object-to string api. Full output shown in PR: FRRouting#5078 Crash issue: FRRouting#5010 Signed-off-by: Lakshman Krishnamoorthy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"show bgp l2vpn evpn neighbors 52.1.1.1 advertised-routes json" results in BGP deamon restart.
Following is the back trace:
(put "x" in "[ ]" if you already tried following)
FRR Version:
Configuration:
The text was updated successfully, but these errors were encountered: