mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 20:26:36 +00:00
bgpd: remove extra ecom attr ptr increment
Copy paste leads to invalid read of 1 byte off the heap when converting extended community attributes into strings. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
2d7ef3bba7
commit
21c64e0895
@ -822,7 +822,6 @@ char *ecommunity_ecom2str(struct ecommunity *ecom, int format, int filter)
|
||||
== ECOMMUNITY_EVPN_SUBTYPE_ES_IMPORT_RT) {
|
||||
struct ethaddr mac;
|
||||
|
||||
pnt++;
|
||||
memcpy(&mac, pnt, ETH_ALEN);
|
||||
len = sprintf(
|
||||
str_buf + str_pnt,
|
||||
|
Loading…
Reference in New Issue
Block a user