commit | b47d14a273640fbae6319de200ae6a9d52e4330c | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@tieto.com> | Fri Jun 12 15:48:11 2015 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 05 20:14:19 2016 -0500 |
tree | 6f9a38795acf3f5d574cafd4aeb070339b8cb7f0 | |
parent | b85f2e826407dc722333fce17d841a00fec067e5 [diff] |
Bluetooth: Fix NULL pointer dereference in flush_cb conn was never set in struct flush_data passed to flush_cb. Change-Id: I2a16479bf7660a96f705d1194245da02ee6eeff5 Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
diff --git a/net/bluetooth/att.c b/net/bluetooth/att.c index de9b3f9..d9f951d 100644 --- a/net/bluetooth/att.c +++ b/net/bluetooth/att.c
@@ -1023,6 +1023,7 @@ return BT_ATT_ERR_UNLIKELY; } + data.conn = conn; data.flags = flags; /* Apply to the whole database */