New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Fri Apr 21 16:43:47 UTC 2023


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.
11 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 1 of 1 defect(s)


** CID 1560675:  Resource leaks  (RESOURCE_LEAK)
/lib/elf_py.c: 1322 in elffile_load()


________________________________________________________________________________________________________
*** CID 1560675:  Resource leaks  (RESOURCE_LEAK)
/lib/elf_py.c: 1322 in elffile_load()
1316     	PyErr_Format(ELFFormatError, "libelf error %d: %s",
1317     		     err, elf_errmsg(err));
1318     out:
1319     	if (w->elf)
1320     		elf_end(w->elf);
1321     	free(w->filename);
>>>     CID 1560675:  Resource leaks  (RESOURCE_LEAK)
>>>     Handle variable "fd" going out of scope leaks the handle.
1322     	return NULL;
1323     }
1324     
1325     static PyObject *elfpy_debug(PyObject *self, PyObject *args)
1326     {
1327     	int arg;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DtJmt_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTxlxBMg2GVvlYFLvr8YqH1CwhH-2BPSRIVHez3g0aRErd1S4RAArcvJVcJ4YQaipgh0yBIrKGA-2FgPdIRrc883-2FH4PEBqfnoDpf-2BlRx9bqbzskzOvwlBcsVWY4PqSd0q2GQG-2FuLNYDwJQ1LemHY9aTCd-2FS0J1GEK90DyfOQmEaH4oV-2Fg-3D-3D




More information about the dev mailing list