[dev] New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Tue Aug 1 12:54:48 EDT 2017
Hi,
Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
3 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
14 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 3 of 3 defect(s)
** CID 1452456: Memory - corruptions (OVERRUN)
________________________________________________________________________________________________________
*** CID 1452456: Memory - corruptions (OVERRUN)
/ospfd/ospf_ri.c: 1484 in no_pce_cap_flag()
1478 "no pce flag",
1479 NO_STR
1480 PCE_STR
1481 "Disable PCE capabilities\n")
1482 {
1483
>>> CID 1452456: Memory - corruptions (OVERRUN)
>>> Overrunning struct type tlv_header of 4 bytes by passing it to a function which accesses it at byte offset 4.
1484 unset_param(&OspfRI.pce_info.pce_cap_flag.header);
1485
1486 /* Refresh RI LSA if already engaged */
1487 if (CHECK_FLAG(OspfRI.flags, RIFLG_LSA_ENGAGED))
1488 ospf_router_info_lsa_schedule(REFRESH_THIS_LSA);
1489
** CID 1452455: Memory - corruptions (OVERRUN)
________________________________________________________________________________________________________
*** CID 1452455: Memory - corruptions (OVERRUN)
/ospfd/ospf_ri.c: 1295 in no_pce_path_scope()
1289 NO_STR
1290 PCE_STR
1291 "Disable PCE path scope\n"
1292 "32-bit Hexadecimal value\n")
1293 {
1294
>>> CID 1452455: Memory - corruptions (OVERRUN)
>>> Overrunning struct type tlv_header of 4 bytes by passing it to a function which accesses it at byte offset 4.
1295 unset_param(&OspfRI.pce_info.pce_address.header);
1296
1297 /* Refresh RI LSA if already engaged */
1298 if (CHECK_FLAG(OspfRI.flags, RIFLG_LSA_ENGAGED))
1299 ospf_router_info_lsa_schedule(REFRESH_THIS_LSA);
1300
** CID 1452454: Memory - corruptions (OVERRUN)
________________________________________________________________________________________________________
*** CID 1452454: Memory - corruptions (OVERRUN)
/ospfd/ospf_ri.c: 1245 in no_pce_address()
1239 NO_STR
1240 PCE_STR
1241 "Disable PCE address\n"
1242 "PCE address in IPv4 address format\n")
1243 {
1244
>>> CID 1452454: Memory - corruptions (OVERRUN)
>>> Overrunning struct type tlv_header of 4 bytes by passing it to a function which accesses it at byte offset 4.
1245 unset_param(&OspfRI.pce_info.pce_address.header);
1246
1247 /* Refresh RI LSA if already engaged */
1248 if (CHECK_FLAG(OspfRI.flags, RIFLG_LSA_ENGAGED))
1249 ospf_router_info_lsa_schedule(REFRESH_THIS_LSA);
1250
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeHs8691VOJpZofPkpp-2BRBqc-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnpqHguTrQ9Mv5Z4CLAtjHjtFQ-2BanxToytG-2Fgn-2BYoHk4dWrsK-2BS4-2FuuDTSwLm1MwqNXkHCujZaHd6R7aP-2BjZlj72b73T24A17Z-2Fm1923WYscdtNe9B-2FBuXqui9p28VPiTgOD3SC4dssAueYtirbfKsIIa216Yz3w65Clv6UTwSlgA-3D-3D
To manage Coverity Scan email notifications for "frr at lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4lcTWm1Zma8LQDNpOYqrETKrqBiM18kcBcL8b08LzBPOYJYGySZ4Vv7d5QYcnSbGxl3QyORKgEmDxh-2BE2mj6dp1V4JSs2jbMZuLnEQJOW0Z0-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnpqHguTrQ9Mv5Z4CLAtjHjBDA0XuCFULHC5QpFaZQIsXxkj-2BWcXaEX-2Bx2rwH3GHUA8bG0PRd8Z61HSG-2BZnRE33e5lK2X23Tr-2BbRBzi2fYr2uujOoW97Q8HzBOaywVOdl2kMybVKR-2FQC3LHbIUzNXO2-2BoaDquKCZVmdPnMb3n-2FXcQ-3D-3D
More information about the dev
mailing list