mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 02:16:53 +00:00
Merge pull request #7988 from ton31337/fix/initialize_raw_data
bgpd: Initialize bgp_notify.raw_data before passing to bgp_notify_rec…
This commit is contained in:
commit
1d03b7b88b
@ -1863,6 +1863,7 @@ static int bgp_notify_receive(struct peer *peer, bgp_size_t size)
|
||||
bgp_notify.subcode = stream_getc(peer->curr);
|
||||
bgp_notify.length = size - 2;
|
||||
bgp_notify.data = NULL;
|
||||
bgp_notify.raw_data = NULL;
|
||||
|
||||
/* Preserv notify code and sub code. */
|
||||
peer->notify.code = bgp_notify.code;
|
||||
|
Loading…
Reference in New Issue
Block a user