commit | d27c8ec891ebb719c1192e091410c5c824bc8afd | [log] [tgz] |
---|---|---|
author | Anderson Lizardo <anderson.lizardo@openbossa.org> | Thu Jan 20 17:02:48 2011 -0400 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Fri Jan 21 12:26:11 2011 +0530 |
tree | c9084592c5a89b61c3d678354d4324d1189ffee3 | |
parent | 06c932e3c8957e9ac2eb7b3e94f08678e5583ee9 [diff] |
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.