Re: [PATCH 1/2] migration/rdma: fix potential nullptr access in rdma_start_incoming_migration

2020-05-29 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > Pan Nengyuan wrote: > > 'rdma' is NULL when taking the first error branch in > > rdma_start_incoming_migration. > > And it will cause a null pointer access in label 'err'. Fix that. > > > > Fixes: 59c59c67ee6b0327ae932deb303caa47919aeb1e > >

Re: [PATCH 1/2] migration/rdma: fix potential nullptr access in rdma_start_incoming_migration

2020-05-11 Thread Peter Maydell
On Fri, 8 May 2020 at 08:53, Juan Quintela wrote: > > Pan Nengyuan wrote: > > 'rdma' is NULL when taking the first error branch in > > rdma_start_incoming_migration. > > And it will cause a null pointer access in label 'err'. Fix that. > > > > Fixes: 59c59c67ee6b0327ae932deb303caa47919aeb1e > >

Re: [PATCH 1/2] migration/rdma: fix potential nullptr access in rdma_start_incoming_migration

2020-05-08 Thread Juan Quintela
Pan Nengyuan wrote: > 'rdma' is NULL when taking the first error branch in > rdma_start_incoming_migration. > And it will cause a null pointer access in label 'err'. Fix that. > > Fixes: 59c59c67ee6b0327ae932deb303caa47919aeb1e > Signed-off-by: Pan Nengyuan Reviewed-by: Juan Quintela good

[PATCH 1/2] migration/rdma: fix potential nullptr access in rdma_start_incoming_migration

2020-05-07 Thread Pan Nengyuan
'rdma' is NULL when taking the first error branch in rdma_start_incoming_migration. And it will cause a null pointer access in label 'err'. Fix that. Fixes: 59c59c67ee6b0327ae932deb303caa47919aeb1e Signed-off-by: Pan Nengyuan --- migration/rdma.c | 4 +++- 1 file changed, 3 insertions(+), 1