linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] l2cap_chan init and delete fixes for ERTM
@ 2012-05-17 23:20 Mat Martineau
  2012-05-17 23:20 ` [PATCH 1/2] Bluetooth: Fix early return from l2cap_chan_del Mat Martineau
  2012-05-17 23:20 ` [PATCH 2/2] Bluetooth: Free allocated ERTM SREJ list if init fails Mat Martineau
  0 siblings, 2 replies; 7+ messages in thread
From: Mat Martineau @ 2012-05-17 23:20 UTC (permalink / raw)
  To: linux-bluetooth, gustavo, marcel; +Cc: pkrystad

I came across a repeatable crash when testing the new ERTM state
machine, and traced it down to some unexpected control flow in
l2cap_chan_del.  This also led me to discover a possible, but
unlikely, leak in some recently added l2cap_ertm_init code.

Mat Martineau (2):
  Bluetooth: Fix early return from l2cap_chan_del
  Bluetooth: Free allocated ERTM SREJ list if init fails

 include/net/bluetooth/l2cap.h |    1 +
 net/bluetooth/l2cap_core.c    |   10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

-- 
1.7.10

--
Mat Martineau
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-18  3:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 23:20 [PATCH 0/2] l2cap_chan init and delete fixes for ERTM Mat Martineau
2012-05-17 23:20 ` [PATCH 1/2] Bluetooth: Fix early return from l2cap_chan_del Mat Martineau
2012-05-18  2:30   ` Marcel Holtmann
2012-05-18  3:29     ` Mat Martineau
2012-05-18  3:30       ` Marcel Holtmann
2012-05-17 23:20 ` [PATCH 2/2] Bluetooth: Free allocated ERTM SREJ list if init fails Mat Martineau
2012-05-18  2:31   ` Marcel Holtmann

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).