[dev] New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Jul 12 12:51:57 EDT 2017


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 1450665:  Resource leaks  (RESOURCE_LEAK)
/lib/hash.c: 435 in show_hash_stats()


________________________________________________________________________________________________________
*** CID 1450665:  Resource leaks  (RESOURCE_LEAK)
/lib/hash.c: 435 in show_hash_stats()
429     
430       pthread_mutex_lock (&_hashes_mtx);
431       if (!_hashes)
432         {
433           pthread_mutex_unlock (&_hashes_mtx);
434           vty_outln (vty, "No hash tables in use.");
>>>     CID 1450665:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "tt" going out of scope leaks the storage it points to.
435           return CMD_SUCCESS;
436         }
437     
438       for (ALL_LIST_ELEMENTS_RO (_hashes, ln, h))
439         {
440           if (!h->name)


________________________________________________________________________________________________________
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-2FJnuNGbe-2BckpM1oiKFXLf-2FWeaN5yDuRuj3BVO6QZbeZXAtkUW78QfCntZwiGrnX3ZoFCO7UoRdrhl6RNT9r5-2F5hSv7HVELmzo1RjZl7oGQDT-2Fyxbca3UCEUQgkFg7ANccEwqieq3S7OLnAjaJZGhBS4Mpxwe4zyFCtOwWpcUKnfdcA-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-2FJnuNGbe-2BckpM1oiKFXLf-2FWeotEeLIT8dD9LmOthUAsgUC0a85b3l-2FEsKmyZBFajX4Na4hWi-2F4KVBjLRmuk-2BtRPuSy4KlcsE-2F890YQVQpf7vl024TA7GaQaxl0-2B1Gp1o9qo4k-2BsChnp4cHHaJERUPRZicjrL-2F62L-2F6XR9uPiJQENqw-3D-3D




More information about the dev mailing list