Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2017 21:24:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219525] Multiple bugs in mpr ioctl handler
Message-ID:  <bug-219525-8-ZikgQhxpVX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219525-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219525-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219525

--- Comment #4 from Stephen McConnell <slm@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))) !=3D 0)
                    status =3D EFAULT;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219525-8-ZikgQhxpVX>