Hi,
Please find the latest report on new defect(s) introduced to batctl found with Coverity Scan.
1 new defect(s) introduced to batctl found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
** CID 153451: Resource leaks (RESOURCE_LEAK) /tcpdump.c: 1304 in tcpdump()
________________________________________________________________________________________________________ *** CID 153451: Resource leaks (RESOURCE_LEAK) /tcpdump.c: 1304 in tcpdump() 1298 fflush(stdout); 1299 } 1300 1301 } 1302 1303 out:
CID 153451: Resource leaks (RESOURCE_LEAK) Overwriting "dump_if" in "dump_if = ({...})" leaks the storage that "dump_if" points to.
1304 list_for_each_entry_safe(dump_if, dump_if_tmp, &dump_if_list, list) { 1305 if (dump_if->raw_sock >= 0) 1306 close(dump_if->raw_sock); 1307 1308 list_del(&dump_if->list); 1309 free(dump_if);
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
To manage Coverity Scan email notifications for "linux-merge@lists.open-mesh.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...