[RFC/PATCH v1 1/3] fix decoder of ioctl EVIOCGBIT

Dmitry V. Levin ldv at altlinux.org
Sat Aug 18 06:13:29 UTC 2018


On Tue, Aug 14, 2018 at 03:00:12AM +0800, Zhibin Li wrote:
> On Tue, Aug 14, 2018 at 1:59 AM Dmitry V. Levin <ldv at altlinux.org> wrote:
> > On Fri, Aug 10, 2018 at 07:12:42PM +0800, Zhibin Li wrote:
[...]
> > > (decode_bitset_): Fix the incorrect comparison between tcp->u_rval and
> > > max_nr.
> >
> > Could you explain, please, why the comparison is incorrect?
> >
> It seems the return value of ioctl here is counted in bytes

Could you point to the code that returns a value counted in bytes, please?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20180818/a844688f/attachment.bin>


More information about the Strace-devel mailing list