New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Mon Dec 19 22:18:20 UTC 2022
Hi,
Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
1 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1530035: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1530035: Null pointer dereferences (FORWARD_NULL)
/bgpd/bgp_updgrp_packet.c: 756 in subgroup_update_packet()
750 * position.
751 */
752 mpattr_pos = stream_get_endp(s);
753
754 /* 5: Encode all the attributes, except MP_REACH_NLRI
755 * attr. */
>>> CID 1530035: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "path" to "bgp_packet_attribute", which dereferences it.
756 total_attr_len = bgp_packet_attribute(
757 NULL, peer, s, adv->baa->attr, &vecarr, NULL,
758 afi, safi, from, NULL, NULL, 0, 0, 0, path);
759
760 space_remaining =
761 STREAM_CONCAT_REMAIN(s, snlri, STREAM_SIZE(s))
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DGaYy_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTzQ-2FxMmfunIFr5hKNzkracITeX1RTjAtdvmVJ77eHjcC4BL71WFpt82YWO8wy8pcLaULhYZsAO3GbyII6pzCdVx9PWRKg1NEPc8uySMn12upu501dOqFaRgOON8o4qTFAEEwSHx7SZCor9Bu39q05PFdxY4lEm9gpviiKTanM4RHw-3D-3D
More information about the dev
mailing list