]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix unaligned access to addpath id
authorSantosh P K <sapk@vmware.com>
Tue, 7 Jan 2020 15:47:13 +0000 (07:47 -0800)
committerSantosh P K <sapk@vmware.com>
Tue, 7 Jan 2020 15:47:13 +0000 (07:47 -0800)
commita3a850a17df1705211cc908ee69382d60bb4cdff
treef0694a305f7a96023357361133aae5c969a7a702
parentedd8ece6033b2e68941bb063607659fe0b4f0be6
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: Santosh P K <sapk@vmware.com>
bgpd/bgp_evpn.c
bgpd/bgp_label.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_route.c