summaryrefslogtreecommitdiff
path: root/libudev/libudev.h
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-12-03 12:56:44 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2009-12-03 12:56:44 +0100
commit7c3db771115570a951e7878062aee58119ab9046 (patch)
tree8bc3fa1ef00f2f6f3e3df93dabcd930aa30985eb /libudev/libudev.h
parent175cb7b81d4e4d2c858bebacbf6b0ee62822afab (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