diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2014-08-14 15:29:12 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-08-15 19:12:48 +0400 |
commit | 2c145d7a73206afc576fea86514e892e11481dab (patch) | |
tree | b82cd36c6b9a4af4493406e94a7385f9119af878 /disas | |
parent | 8945c7f75419a8191f3e99b341f1a485b48af766 (diff) |
l2cap: fix access to freed memory
Pointer 'ch' will be used in function 'l2cap_channel_open_req_msg' after
it was previously freed in 'l2cap_channel_open'.
Assigned it to NULL after it is freed.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions