New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Jul 7 09:16:17 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.
4 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 1505727:  Error handling issues  (CHECKED_RETURN)
/lib/systemd.c: 69 in systemd_send_information()


________________________________________________________________________________________________________
*** CID 1505727:  Error handling issues  (CHECKED_RETURN)
/lib/systemd.c: 69 in systemd_send_information()
63     
64     	/* linux abstract unix socket namespace */
65     	if (sun.sun_path[0] == '@')
66     		sun.sun_path[0] = '\0';
67     
68     	/* nothing we can do if this errors out... */
>>>     CID 1505727:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "sendto(sock, info, strlen(info), 0, __CONST_SOCKADDR_ARG({.__sockaddr__ = (struct sockaddr *)&sun}), 110U)" without checking return value. This library function may fail and return an error code.
69     	sendto(sock, info, strlen(info), 0, (struct sockaddr *)&sun,
70     	       sizeof(sun));
71     
72     	close(sock);
73     }
74     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3Dvs04_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTyE1IJPVnqmp-2FhYprZvc-2FlA1QGHky0mQ7dNjnMkqOZrySc7e6No4VpvNl0dP-2BNvr4y1J3utjCIClPgSVbij-2B9dqd4BUaqQUrZ4KcYrSeQlmXtuOrImaxCI58Sho-2FY1W8-2FJK7K-2BtJNebA7W-2Fjc4E3luZGLI81AviARnJj0DR30IA-2Fw-3D-3D




More information about the dev mailing list