Parent: cb0bb3a9e8a8a127c329048968a6b83695f3b847
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-18 00:53:01
Tree: 0f3a5191d693d6f22bf2eecb356e306ded7b92bf
hcidump: Fix uninitialized struct sockaddr_hci memory passed to bind() The bind() call in open_socket() was passing a struct sockaddr_hci to bind() with two uninitialized bytes. This caused "Invalid argument" errors on kernels which do strict checks of struct sockaddr_hci fields.
Diffstat
| M | tools/hcidump.c | | | 1 | + |
1 files changed, 1 insertions(+), 0 deletions(-)