[Bug 219525] Multiple bugs in mpr ioctl handler
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 30 21:24:43 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219525
--- Comment #4 from Stephen McConnell <slm at freebsd.org> ---
And there's no reason to look at 'status' in the 'if' actually, so just:
if (copyout((void *)sc->recorded_events, PTRIN(data->PtrEvents),
min(size, sizeof(sc->recorded_events))) != 0)
status = EFAULT;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list