diff options
| author | Yonghua Zheng <[email protected]> | 2013-07-30 14:16:10 +0800 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2013-07-31 19:48:55 +0200 |
| commit | 8e552e535948fe8612d36a7beaf19519140bc285 (patch) | |
| tree | 72e448701c7f02aa85e9fedd1f828616f322f4b0 /tools/perf/util/python.c | |
| parent | 6f498018279d118cf38945f73da7c9345f7e2e5d (diff) | |
HID: hidraw: fix improper mutex release
Mutex can not be released unless all hid_device members are properly
initialized. Otherwise it would result in a race condition that can
cause NULL pointer kernel panic issue in hidraw_open where it uses
uninitialized 'list' member in list_add_tail().
Signed-off-by: Yonghua Zheng <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions