[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a3272a7-035b-edc8-c01d-79bffefb70a3@oracle.com>
Date: Wed, 3 Jan 2018 13:19:27 -0800
From: Santosh Shilimkar <santosh.shilimkar@...cle.com>
To: simo.ghannam@...il.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, davem@...emloft.net,
rds-devel@....oracle.com
Subject: Re: [PATCH] RDS: null pointer dereference in rds_atomic_free_op
On 1/3/2018 1:06 PM, simo.ghannam@...il.com wrote:
> From: Mohamed Ghannam <simo.ghannam@...il.com>
>
> set rm->atomic.op_active to 0 when rds_pin_pages() fails
> or the user supplied address is invalid,
> this prevents a NULL pointer usage in rds_atomic_free_op()
>
> Signed-off-by: Mohamed Ghannam <simo.ghannam@...il.com>
> ---
Good catch !!
Acked-by: Santosh Shilimkar <santosh.shilimkar@...cle.com>
Powered by blists - more mailing lists