commit | 8dcb3c7628f19192dd568fbee9094a2d4b14b6af | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Dec 19 09:22:21 2015 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Dec 19 23:44:40 2015 -0800 |
tree | e92e2afc46f46c3c89bf9b3b8928480bb14c4b3e | |
parent | daf6cd0c1829c48cba197bd87d57fc8bf3f65faa [diff] |
Input: egalax_ts_serial - fix potential NULL dereference on error We didn't check input_allocate_device() for failures so it could lead to a NULL deref. Fixes: 6b0f8f9c52ef ('Input: add eGalaxTouch serial touchscreen driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>