]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: double-check notify data when debugging
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 11 Apr 2018 16:54:42 +0000 (12:54 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 13 Apr 2018 21:17:42 +0000 (17:17 -0400)
commite0981960cdc9bf40d610267b0b743571db78ff35
tree6bf2c5380bc4a73c9fb43eae13293fd9e5597fea
parent44b301a24bc8cedf7e8fad95ea8c8b996ee7ef4b
bgpd: double-check notify data when debugging

clang-analyze complains that data may be null, and since we didn't
explicitly check it (although we did check the overall packet length
minus the header length) it has a point.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_packet.c