]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix unaligned access to addpath id
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 7 Jan 2020 01:09:23 +0000 (20:09 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 7 Jan 2020 01:09:23 +0000 (20:09 -0500)
commit454d85cf6235f83f35c9023ffaaae3676d28c0fb
tree63dff53cc055ad840c6624b39bc35341f580096c
parent5c3be0814fb190b007ff31efa85cca5e66e2daab
bgpd: fix unaligned access to addpath id

uint8_t * cannot be cast to uint32_t * unless the pointed-to address is
aligned according to uint32_t's alignment rules. And it usually is not.

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