diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2014-11-14 09:39:23 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-14 12:16:24 +0100 |
commit | 77374582ab961af2c5e702f767f52179d5f7676c (patch) | |
tree | c794bb5f0d62a00ddcc3a74ab40276698b34e0d2 /target-i386/shift_helper_template.h | |
parent | 5bbebf622897a59db5da4c468e737bfec4d71280 (diff) |
l2tpv3: fix possible double free
freeaddrinfo(result) does not assign result = NULL, after frees it.
There will be a double free when it goes error case.
It is reported by covertiy.
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/shift_helper_template.h')
0 files changed, 0 insertions, 0 deletions