New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Aug 4 09:17:04 UTC 2021


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 1506193:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1506193:  Uninitialized variables  (UNINIT)
/ospfd/ospf_interface.c: 1463 in ospf_reset_hello_timer()
1457     		struct prefix p;
1458     		struct ospf_interface *oi = NULL;
1459     
1460     		p.u.prefix4 = addr;
1461     		p.family = AF_INET;
1462     
>>>     CID 1506193:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "p". Field "p.prefixlen" is uninitialized when calling "ospf_if_table_lookup".
1463     		oi = ospf_if_table_lookup(ifp, &p);
1464     
1465     		if (oi) {
1466     			/* Send hello before restart the hello timer
1467     			 * to avoid session flaps in case of bigger
1468     			 * hello interval configurations.


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DuZ46_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTzvynulv3Ne6FdEhDSyc-2Bam3H8JTgvX5gN2uG-2Bd1AUEg9V3-2BkfYNITSYwHDJkmrr09gevMo-2FlQoXbWpSnQSiIxBQ-2F9Sk4hIOoLatH7Cwtzv0k-2BurWP2c6FEx9ZyCjfyamv3-2BFIr3AQ3HpiczaH6ZoLcyD0c2v9gJugqt-2FnHYmLYq5paRQYMYSCq2ezjQNQgzDE-3D




More information about the dev mailing list