Coverity-updates archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New Defects reported by Coverity Scan for NetBSD-i386-user



Hi,

Please find the latest report on new defect(s) introduced to NetBSD-i386-user found with Coverity Scan.

1 new defect(s) introduced to NetBSD-i386-user found with Coverity Scan.
6 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 1362564:  Resource leaks  (RESOURCE_LEAK)
/usr.bin/make/meta.c: 436 in meta_needed()


________________________________________________________________________________________________________
*** CID 1362564:  Resource leaks  (RESOURCE_LEAK)
/usr.bin/make/meta.c: 436 in meta_needed()
430     	    fprintf(debug_file, "Skipping meta for %s: no .OBJDIR\n",
431     		    gn->name);
432     	return FALSE;
433         }
434     
435         /* make sure these are canonical */
>>>     CID 1362564:  Resource leaks  (RESOURCE_LEAK)
>>>     Failing to save or free storage allocated by "cached_realpath(dname, objdir)" leaks it.
436         if (cached_realpath(dname, objdir))
437     	dname = objdir;
438     
439         /* If we aren't in the object directory, don't create a meta file. */
440         if (!metaCurdirOk && strcmp(curdir, dname) == 0) {
441     	if (verbose)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/netbsd-i386-user?tab=overview

To manage Coverity Scan email notifications for "coverity-updates%netbsd.org@localhost", click https://scan.coverity.com/subscriptions/edit?email=coverity-updates%40netbsd.org&token=487286ca1a9a4f4bd485d16f66b5e782



Home | Main Index | Thread Index | Old Index