Commit: 2579cb5aeee1ea4572d17672d80afe8ba6a7bd47
Parent: 84ee3a8f76214bd2e1ad84dc915a9f2b64cb7832
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-06-26 20:32:40
Tree: e9f5e363f59d60cb365e26a7892f772bcdadaf69

avdtp: Fix possible unbalance ref count It has been reported that under some unknown circuntances the reference number of AVDTP sessions can go bellow 0 (loop around) causing a crash: bluetoothd[5633]: profiles/audio/avdtp.c:avdtp_ref() 0x56a882b8a500: ref=-2101995743 bluetoothd[5633]: profiles/audio/a2dp.c:discover_cb() err (nil) WARNING crash_reporter[10707]: [user] Received crash notification for bluetoothd[5633]

Diffstat

M profiles/audio/avdtp.c | 24 +++++++++++++++- - - - - - - - -

1 files changed, 15 insertions(+), 9 deletions(-)

View Full Diff | Patch