diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2009-12-03 12:56:44 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-12-03 12:56:44 +0100 |
commit | 7c3db771115570a951e7878062aee58119ab9046 (patch) | |
tree | 8bc3fa1ef00f2f6f3e3df93dabcd930aa30985eb /libudev/libudev.h | |
parent | 175cb7b81d4e4d2c858bebacbf6b0ee62822afab (diff) |
input_id: check event mask
Check the capabilities/ev for the particular event class before testing bits in
that event class. This avoids testing potentially bogus data if the device does
not support that class of events at all.
Thanks to Dmitry Torokhov for pointing out!
Diffstat (limited to 'libudev/libudev.h')
0 files changed, 0 insertions, 0 deletions