qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] migration/rdma: fix nullptr-def in rdma_start_incoming_migra


From: Pan Nengyuan
Subject: [PATCH 0/2] migration/rdma: fix nullptr-def in rdma_start_incoming_migration
Date: Fri, 8 May 2020 06:07:53 -0400

I fix a memleak in rdma_start_incoming_migration some time ago.
https://patchwork.kernel.org/patch/11498191/

I'm sorry that it may cause a null-pointer access, this patch fix that.

Since we are here, rdma_start_outgoing_migration has the similar memleak, fix 
it together.

Pan Nengyuan (2):
  migration/rdma: fix potential nullptr access in
    rdma_start_incoming_migration
  migration/rdma: cleanup rdma context before g_free to avoid memleaks

 migration/rdma.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

-- 
2.18.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]