Re: [Intel-gfx] [PATCH 02/10] drm/uapi: Validate the mode flags/type

2017-11-14 Thread Ville Syrjälä
On Tue, Nov 14, 2017 at 06:42:06PM +, Chris Wilson wrote: > Quoting Ville Syrjala (2017-11-14 18:32:50) > > From: Ville Syrjälä > > > > Currently userspace is allowed to feed in any king of garbage in the > > high bits of the mode flags/type, as are drivers

Re: [Intel-gfx] [PATCH 02/10] drm/uapi: Validate the mode flags/type

2017-11-14 Thread Chris Wilson
Quoting Ville Syrjala (2017-11-14 18:32:50) > From: Ville Syrjälä > > Currently userspace is allowed to feed in any king of garbage in the > high bits of the mode flags/type, as are drivers when probing modes. > Reject any mode with bogus flags/type. > > Hopefully