[PATCH 4.5 117/200] [media] videobuf2-core: Check user space planes array in dqbuf

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus commit e7e0c3e26587749b62d17b9dd0532874186c77f7 upstream. The number of planes in videobuf2 is specific to a buffer. In order to verify that the

[PATCH 4.5 117/200] [media] videobuf2-core: Check user space planes array in dqbuf

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus commit e7e0c3e26587749b62d17b9dd0532874186c77f7 upstream. The number of planes in videobuf2 is specific to a buffer. In order to verify that the planes array provided by the user