Parent: 27a52a9ccb33aecfd75890841c9333ca6b1db809
Author: Rafal Michalski <michalski.raf@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-05-29 22:08:30
Tree: 22bf2c460982af2d3c80a851f0d92ab0da4f5a1d
Fix invalid read of memory in avdtp module Fixed incorrect update of server->sessions GSlist in avdtp_exit. Previosly it was leading to invalid read of memory (l = l->next) (and possible memory leaks) since after invoking avdtp_unref in connection_lost, l pointer was not valid anymore (previously assignment l = l->next was used after invoking connection_lost in for loop).
Diffstat
| M | audio/avdtp.c | | | 8 | +++++++- |
1 files changed, 7 insertions(+), 1 deletions(-)