Re: [PATCH] chcr_ktls: fix a possible null-pointer dereference in chcr_ktls_dev_add()
From: Simon Horman
Date: Fri Nov 08 2024 - 08:34:39 EST
On Tue, Nov 05, 2024 at 07:32:31AM +0800, Tuo Li wrote:
> Hi Simon,
>
> Thanks for your reply! It is very helpful.
> Any further feedback will be appreciated.
Hi Tuo Li,
1. Please don't top-post on Linux mailing lists.
2. I think you need to do some careful analysis to understand
if the condition you are concerned about can occur or not:
can u_ctx ever be NULL in these code paths?