From: Johan Hedberg <johan.hedberg@gmail.com>
To: Anderson Lizardo <anderson.lizardo@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH BlueZ 1/2] gdbus: Fix segfault when D-Bus daemon exits
Date: Wed, 8 May 2013 10:57:49 +0300 [thread overview]
Message-ID: <20130508075749.GA12128@x220> (raw)
In-Reply-To: <1367696383-14831-1-git-send-email-anderson.lizardo@openbossa.org>
Hi Lizardo,
On Sat, May 04, 2013, Anderson Lizardo wrote:
> Fix this crash if D-Bus exits while the client is still connected to it:
>
> ==5570== Invalid read of size 1
> ==5570== at 0x402D28E: strcmp (in
> /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
> ==5570== by 0x4070E22: g_str_equal (ghash.c:1704)
> ==5570== by 0x8055F61: message_filter (client.c:1123)
> ==5570== by 0x4141500: dbus_connection_dispatch (in
> /lib/i386-linux-gnu/libdbus-1.so.3.5.8)
> ==5570== by 0x80506F7: message_dispatch (mainloop.c:76)
> ==5570== by 0x4081A7E: g_timeout_dispatch (gmain.c:3882)
> ==5570== by 0x4080D85: g_main_context_dispatch (gmain.c:2539)
> ==5570== by 0x4081124: g_main_context_iterate.isra.21 (gmain.c:3146)
> ==5570== by 0x408156A: g_main_loop_run (gmain.c:3340)
> ==5570== by 0x41BF4D2: (below main) (libc-start.c:226)
> ==5570== Address 0x0 is not stack'd, malloc'd or (recently) free'd
> ==5570==
> ==5570==
> ---
> gdbus/client.c | 2 ++
> 1 file changed, 2 insertions(+)
Both patches have been applied. Thanks.
Johan
prev parent reply other threads:[~2013-05-08 7:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 19:39 [PATCH BlueZ 1/2] gdbus: Fix segfault when D-Bus daemon exits Anderson Lizardo
2013-05-04 19:39 ` [PATCH BlueZ 2/2] gdbus: Fix using NULL DBusPendingCall when disconnected from D-Bus Anderson Lizardo
2013-05-08 7:57 ` 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=20130508075749.GA12128@x220 \
--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;
as well as URLs for NNTP newsgroup(s).