Re: [Intel-gfx] [PATCH v2 2/3 drm: Check property/enum name length

2018-03-06 Thread Ville Syrjälä
On Tue, Mar 06, 2018 at 11:22:54AM +0100, Daniel Vetter wrote: > On Fri, Mar 02, 2018 at 04:03:00PM +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Reject requests to add properties/enums with an overly long name. > > Previously we would have just

Re: [Intel-gfx] [PATCH v2 2/3 drm: Check property/enum name length

2018-03-06 Thread Daniel Vetter
On Fri, Mar 02, 2018 at 04:03:00PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Reject requests to add properties/enums with an overly long name. > Previously we would have just silently truncated the string and exposed > it userspace. > > v2:

[Intel-gfx] [PATCH v2 2/3 drm: Check property/enum name length

2018-03-02 Thread Ville Syrjala
From: Ville Syrjälä Reject requests to add properties/enums with an overly long name. Previously we would have just silently truncated the string and exposed it userspace. v2: drm_property_create() returns a pointer Signed-off-by: Ville Syrjälä