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]

 



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.

-- 
Regards,

Sakari Ailus
sakari.ailus@xxxxxxxxxxxxxxx



[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