Parent: 717d36fbb82fb428a0dcf1d9eaa0053efae1035f
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-08-20 10:50:51
Tree: e29088af54ca55f6d23e15eb5f47ae2c82cd78d8
input: Fix crash when receiving event from uHID uHID device is created only once so it is possible that the kernel send events when there is no connection causing the following crash: Invalid read of size 4 at 0x4EBC650: g_io_channel_unix_get_fd (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x42C56A: hidp_send_message (device.c:160) by 0x46EF1C: queue_foreach (queue.c:206) by 0x42E3B0: uhid_read_handler (uhid.c:98) by 0x46E82C: read_callback (io-glib.c:168) by 0x4E7A2A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x40A972: main (main.c:607) Address 0x70 is not stack'd, malloc'd or (recently) free'd
Diffstat
| M | profiles/input/device.c | | | 5 | +++++ |
1 files changed, 5 insertions(+), 0 deletions(-)