|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 05/17] xenpaging: remove duplicate xc_interface_close
Fix double-free in xc_interface_close() because xenpaging_teardown()
releases the *xch already. Remove second xc_interface_close() call.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
tools/xenpaging/xenpaging.c | 2 --
1 file changed, 2 deletions(-)
--- xen-unstable.hg-4.1.22459.orig/tools/xenpaging/xenpaging.c
+++ xen-unstable.hg-4.1.22459/tools/xenpaging/xenpaging.c
@@ -693,8 +693,6 @@ int main(int argc, char *argv[])
if ( rc == 0 )
rc = rc1;
- xc_interface_close(xch);
-
DPRINTF("xenpaging exit code %d\n", rc);
return rc;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH 01/17] xenpaging: close xch handle in xenpaging_init error path, (continued)
- [Xen-devel] [PATCH 02/17] xenpaging: remove perror usage in xenpaging_init error path, Olaf Hering
- [Xen-devel] [PATCH 03/17] xenpaging: print DPRINTF ouput if XENPAGING_DEBUG is in environment, Olaf Hering
- [Xen-devel] [PATCH 06/17] xenpaging: do not use DPRINTF/ERROR if xch handle is unavailable, Olaf Hering
- [Xen-devel] [PATCH 14/17] xenpaging: prevent page-out of first 16MB, Olaf Hering
- [Xen-devel] [PATCH 08/17] xenpaging: make vcpu_sleep_nosync() optional in mem_event_check_ring(), Olaf Hering
- [Xen-devel] [PATCH 10/17] xenpaging: update machine_to_phys_mapping[] during page-in, Olaf Hering
- [Xen-devel] [PATCH 07/17] xenpaging: update xch usage, Olaf Hering
- [Xen-devel] [PATCH 05/17] xenpaging: remove duplicate xc_interface_close call,
Olaf Hering <=
- [Xen-devel] [PATCH 13/17] xenpaging: page only pagetables for debugging, Olaf Hering
- [Xen-devel] [PATCH 11/17] xenpaging: drop paged pages in guest_remove_page, Olaf Hering
- [Xen-devel] [PATCH 17/17] xenpaging: (sparse) documenation, Olaf Hering
- [Xen-devel] [PATCH 12/17] xenpaging: handle HVMCOPY_gfn_paged_out in copy_from/to_user, Olaf Hering
- [Xen-devel] [PATCH 15/17] xenpaging: start xenpaging via config option, Olaf Hering
|
|
|
|
|