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-amd64-kernel



Hi,

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

1 new defect(s) introduced to NetBSD-amd64-kernel found with Coverity Scan.
2 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 1323911:    (UNINIT)
/sys/kern/kern_exec.c: 814 in execve_loadvm()
/sys/kern/kern_exec.c: 821 in execve_loadvm()


________________________________________________________________________________________________________
*** CID 1323911:    (UNINIT)
/sys/kern/kern_exec.c: 814 in execve_loadvm()
808     	pathbuf_destroy(data->ed_pathbuf);
809     	PNBUF_PUT(data->ed_resolvedpathbuf);
810     
811      clrflg:
812     	rw_exit(&p->p_reflock);
813     
>>>     CID 1323911:    (UNINIT)
>>>     Using uninitialized value "error".
814     	if (modgen != module_gen && error == ENOEXEC) {
815     		modgen = module_gen;
816     		exec_autoload();
817     		goto retry;
818     	}
819     
/sys/kern/kern_exec.c: 821 in execve_loadvm()
815     		modgen = module_gen;
816     		exec_autoload();
817     		goto retry;
818     	}
819     
820     	SDT_PROBE(proc,,,exec_failure, error, 0, 0, 0, 0);
>>>     CID 1323911:    (UNINIT)
>>>     Using uninitialized value "error".
821     	return error;
822     }
823     
824     static int
825     execve_dovmcmds(struct lwp *l, struct execve_data * restrict data)
826     {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/netbsd-amd64-kernel?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