Commit: 0d8d87721ad5d2b4159ed6b86534b5708564d3ef
Parent: 82b8e31857f5c15cc191122a19da29aabe8f8d18
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-10-01 15:54:50
Tree: 212e4071b90df95659ca0f3a73defb42962306ae

emulator/bthost: Add missing flow_ctrl assignment This fixes following valgrind report: ==3093== Syscall param writev(vector[...]) points to uninitialised byte(s) ==3093== at 0x5652FA0: writev (writev.c:54) ==3093== by 0x408029: send_iov (bthost.c:484) ==3093== by 0x402530: rfcomm_uih_send.isra.25 (bthost.c:1771) ==3093== by 0x4095BE: bthost_receive_h4 (bthost.c:1872) ==3093== by 0x4029E6: receive_bthost.part.1 (hciemu.c:141) ==3093== by 0x5083CE4: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==3093== by 0x5084047: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==3093== by 0x5084309: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==3093== by 0x415920: tester_run (tester.c:815) ==3093== by 0x40263E: main (tester-main.c:2588) ==3093== Address 0xffefff0b1 is on thread 1's stack ==3093==

Diffstat

M emulator/bthost.c | 1 +

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

View Full Diff | Patch