Re: [GIT FIXES FOR v5.0] v4l2-ioctl: Clear only per-plane reserved fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/11/19 10:10 PM, Sakari Ailus wrote:
> Hi Hans,
> 
> On Fri, Jan 11, 2019 at 09:31:25AM +0100, Hans Verkuil wrote:
>> Three fixes for a bug introduced in 5.0.
>>
>> The last patch (Validate num_planes for debug messages) is also backported
>> to kernels >= 4.12 (the oldest kernel for which it applies cleanly).
> 
> The surrounding lines of code have changed slightly over the years. The
> older kernels still suffer from the same problem as far as I see, so the
> backport is relevant down to 3.16 at least (but older kernels aren't
> supported anyway so I didn't check further). The problem was likely
> introduced by the big IOCTL handling patches long, long time ago. Huh.
> 

I didn't plan on backporting this to older kernels. You have to be root
to enable this debugging, so it is not security bug.

Regards,

	Hans



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux