commit | 985c3556921fa669f86fe5e62130fbeb93d94ca9 | [log] [tgz] |
---|---|---|
author | Donald Sharp <sharpd@cumulusnetworks.com> | Thu Mar 10 20:16:47 2016 -0500 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Sep 13 10:36:37 2016 +0100 |
tree | 0db825e0fbb0b0e1452e0169c6b36cd04c23b6cd | |
parent | 54406ac4c6883725f8a337bdc4f15fb015926b0f [diff] |
bgpd: Fix code path that leads to uninitialized variables subtype and sublength are not initialized and if on Line 1877 BGP_ATTR_ENCAP != type we will not set subtype and sublength, but these variables are used immediately below that if statement. This issue was discovered via the freebsd compiler. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>