commit | c9546c82ea69e09aa9042926546eca6631215d38 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Dec 26 17:44:29 2013 -0800 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:19:19 2020 +0200 |
tree | fb6f6ef6e02365980a02ddbaa45ee46b66ef717a | |
parent | 90d23d2475a8d50ed866094b02190324dabe38d0 [diff] |
Input: allocate absinfo data when setting ABS capability commit 28a2a2e1aedbe2d8b2301e6e0e4e63f6e4177aca upstream. We need to make sure we allocate absinfo data when we are setting one of EV_ABS/ABS_XXX capabilities, otherwise we may bomb when we try to emit this event. Rested-by: Paul Cercueil <pcercuei@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>