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-user
Hi,
Please find the latest report on new defect(s) introduced to NetBSD-amd64-user found with Coverity Scan.
1 new defect(s) introduced to NetBSD-amd64-user found with Coverity Scan.
3 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 1325753: Control flow issues (UNREACHABLE)
/sys/kern/kern_time.c: 322 in sys_clock_nanosleep()
________________________________________________________________________________________________________
*** CID 1325753: Control flow issues (UNREACHABLE)
/sys/kern/kern_time.c: 322 in sys_clock_nanosleep()
316 SCARG(uap, rmtp) ? &rmt : NULL);
317 if (SCARG(uap, rmtp) == NULL || (error != 0 && error != EINTR))
318 goto out;
319 return error;
320
321 if ((error1 = copyout(&rmt, SCARG(uap, rmtp), sizeof(rmt))) != 0)
>>> CID 1325753: Control flow issues (UNREACHABLE)
>>> This code cannot be reached: "error = error1;".
322 error = error1;
323 out:
324 *retval = error;
325 return 0;
326 }
327
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/netbsd-amd64-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