[Bug 270910] net/frr8: fix bgpd crash in some cases (8.x)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Apr 2023 10:42:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270910

            Bug ID: 270910
           Summary: net/frr8: fix bgpd crash in some cases (8.x)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: olivier@freebsd.org
          Reporter: pi@FreeBSD.org
             Flags: maintainer-feedback?(olivier@freebsd.org)
          Assignee: olivier@freebsd.org
 Attachment #241558 text/plain
         mime type:

Created attachment 241558
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241558&action=edit
Put patch in files/, recompile

This type of crash can happen:

BGP: bgpd/bgp_lcommunity.c:236: set_lcommunity_string(): assertion ((unsigned
int)len < str_buf_sz) failed

The patch should fix this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.