014 at 12:24 AM, Hans Verkuil wrote:
> On 04/23/2014 02:18 AM, n179911 wrote:
>> In __qbuf_dmabuf(), it check the length and size of the buffer being
>> queued, like this:
>> http://lxr.free-electrons.com/source/drivers/media/v4l2-core/videobuf2-core.c#L1158
>>
>> M
In __qbuf_dmabuf(), it check the length and size of the buffer being
queued, like this:
http://lxr.free-electrons.com/source/drivers/media/v4l2-core/videobuf2-core.c#L1158
My question is why the range check is liked this:
1158 if (planes[plane].length < planes[plane].data_offset +
1159