Parent: 8b2a8c9257fb62badeed2dc76caca178737f77d6
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-05-26 11:45:56
Tree: 9e9136b65e039db7b7b8e171e534e12bf55831c0
android: Fix sending uninitialised data This fixes the following: ==25759== Syscall param socketcall.sendmsg(msg.msg_iov[i]) points to uninitialised byte(s) ==25759== at 0x521C570: __sendmsg_nocancel (syscall-template.S:82) ==25759== by 0x41688F: ipc_send (ipc.c:366) ==25759== by 0x40ECF8: send_ssp_request (bluetooth.c:1028) ==25759== by 0x4110A6: user_confirm_request_callback (bluetooth.c:1055) ==25759== by 0x4094FE: queue_foreach (queue.c:186) ==25759== by 0x409FCF: can_read_data (mgmt.c:287) ==25759== by 0x408E4C: read_callback (io-glib.c:168) ==25759== by 0x4E79D12: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4) ==25759== by 0x4E7A05F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4) ==25759== by 0x4E7A459: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4) ==25759== by 0x40454D: main (main.c:538) ==25759== Address 0x7ff00085d is on thread 1's stack ==25759== Uninitialised value was created by a stack allocation ==25759== at 0x40EC77: send_ssp_request (bluetooth.c:1018)
Diffstat
| M | android/bluetooth.c | | | 2 | ++ |
1 files changed, 2 insertions(+), 0 deletions(-)