diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-01-13 22:22:27 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-01-15 20:20:22 +0100 |
commit | 7fb29f49abb3dd6b51200bc7f5b9c6a96142fa66 (patch) | |
tree | fa7eac884c59f8575ada9707845ab83bcd011c87 /zebra/zebra_vxlan.c | |
parent | Merge pull request #5666 from donaldsharp/more_nhg_fixes (diff) | |
download | frr-7fb29f49abb3dd6b51200bc7f5b9c6a96142fa66.tar.xz frr-7fb29f49abb3dd6b51200bc7f5b9c6a96142fa66.zip |
zebra: fix assert crash on corrupt vxlan msg
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vxlan.c')
-rw-r--r-- | zebra/zebra_vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index bfec0bb58..ffb2528a2 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -9486,7 +9486,7 @@ void zebra_vxlan_advertise_subnet(ZAPI_HANDLER_ARGS) s = msg; STREAM_GETC(s, advertise); - vni = stream_get3(s); + STREAM_GET(&vni, s, 3); zvni = zvni_lookup(vni); if (!zvni) |