From: Johan Hedberg <johan.hedberg@gmail.com>
To: Anderson Lizardo <anderson.lizardo@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Fix uninitialized struct sockaddr_hci memory passed to bind()
Date: Fri, 21 Jan 2011 12:26:41 +0530 [thread overview]
Message-ID: <20110121065641.GC1789@jh-x301> (raw)
In-Reply-To: <1295557368-9737-1-git-send-email-anderson.lizardo@openbossa.org>
Hi,
On Thu, Jan 20, 2011, Anderson Lizardo wrote:
> 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.
> ---
> src/hcidump.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Pushed upstream. Thanks.
Johan
prev parent reply other threads:[~2011-01-21 6:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-20 21:02 [PATCH] Fix uninitialized struct sockaddr_hci memory passed to bind() Anderson Lizardo
2011-01-21 6:56 ` Johan Hedberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110121065641.GC1789@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=anderson.lizardo@openbossa.org \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox