mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-03 23:47:16 +00:00 
			
		
		
		
	Merge pull request #14129 from samanvithab/bgpd_frr_fix
bgpd: Fix for session reset issue caused by malformed core attributes in update message
This commit is contained in:
		
						commit
						7415f1e120
					
				@ -3600,6 +3600,7 @@ enum bgp_attr_parse_ret bgp_attr_parse(struct peer *peer, struct attr *attr,
 | 
			
		||||
				attr_args.total);
 | 
			
		||||
			if (ret == BGP_ATTR_PARSE_PROCEED)
 | 
			
		||||
				continue;
 | 
			
		||||
			stream_forward_getp(BGP_INPUT(peer), endp - BGP_INPUT_PNT(peer));
 | 
			
		||||
			goto done;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
@ -3704,6 +3705,7 @@ enum bgp_attr_parse_ret bgp_attr_parse(struct peer *peer, struct attr *attr,
 | 
			
		||||
				EC_BGP_ATTRIBUTE_PARSE_WITHDRAW,
 | 
			
		||||
				"%s: Attribute %s, parse error - treating as withdrawal",
 | 
			
		||||
				peer->host, lookup_msg(attr_str, type, NULL));
 | 
			
		||||
			stream_forward_getp(BGP_INPUT(peer), endp - BGP_INPUT_PNT(peer));
 | 
			
		||||
			goto done;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user