Commit: d48132c844ff7e287e13ba16f01697738d89c132
Parent: 3fa4e17b2e453bec804ad72dc7a9b91bb8136e9e
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-11-29 17:10:19
Tree: caebf86a28a09b1d5f7e834709d96fe88aee71f8

android/pan: Fix sending uninitialised bytes name field of struct hal_ev_pan_ctrl_state is 17 bytes longs so memcpy of the interface name does not field all the those bytes leaving the last uninitialised: Syscall param sendmsg(msg.msg_iov[1]) points to uninitialised byte(s) at 0x3600EF6E20: __sendmsg_nocancel (in /usr/lib64/libc-2.17.so) by 0x40DC06: ipc_send (ipc.c:93) by 0x4149AC: bnep_conn_cb (pan.c:120) by 0x4192B8: bnep_setup_cb (bnep.c:324) by 0x31D1647DF5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3) by 0x31D1648147: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3) by 0x31D1648549: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3) by 0x40338B: main (main.c:629) Address 0x7ff0003d3 is on thread 1's stack

Diffstat

M android/pan.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)

View Full Diff | Patch