diff options
| author | zhanghailiang | 2014-08-14 09:29:12 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2014-08-15 17:12:48 +0200 |
| commit | 2c145d7a73206afc576fea86514e892e11481dab (patch) | |
| tree | b82cd36c6b9a4af4493406e94a7385f9119af878 /tests/multiboot | |
| parent | intc: i8259: Convert Array allocation to g_new0 (diff) | |
| download | qemu-2c145d7a73206afc576fea86514e892e11481dab.tar.gz qemu-2c145d7a73206afc576fea86514e892e11481dab.tar.xz qemu-2c145d7a73206afc576fea86514e892e11481dab.zip | |
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 'tests/multiboot')
0 files changed, 0 insertions, 0 deletions
