From: "Stéphane Cerveau" <scerveau@collabora.com>
To: linux-bluetooth@vger.kernel.org
Cc: "Stéphane Cerveau" <scerveau@collabora.com>
Subject: [PATCH 0/1] add hog ref in hog_attach_instance
Date: Mon, 20 Apr 2020 15:51:11 +0200 [thread overview]
Message-ID: <20200420135112.6749-1-scerveau@collabora.com> (raw)
When I tried to connect a bluetooth gamepad 8718,
I was experiencing a crash which can be reproduced
always.
https://www.amazon.com/Controller-PowerLead-Wireless-Compatible-Android/dp/B07XJ37HPK
After investigation, it appears that instance was not reffed initially
when added to the slist and double free was requested on this hog during
the free of the slist (unref during a destroy_gatt_req).
Stéphane Cerveau (1):
add hog ref before adding to instances
profiles/input/hog-lib.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.17.1
next reply other threads:[~2020-04-20 13:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 13:51 Stéphane Cerveau [this message]
2020-04-20 13:51 ` [PATCH 1/1] add hog ref before adding to instances Stéphane Cerveau
2020-04-20 17:21 ` Luiz Augusto von Dentz
2020-04-20 18:37 ` scerveau
2020-04-20 21:05 ` Luiz Augusto von Dentz
-- strict thread matches above, loose matches on Subject: below --
2020-04-20 13:14 [PATCH 0/1] add hog ref in hog_attach_instance Stéphane Cerveau
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=20200420135112.6749-1-scerveau@collabora.com \
--to=scerveau@collabora.com \
--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).