Re: [PATCH] RDMA/srp: Avoid reading uninitialized has_port on srp_parse_in() failure
From: Leon Romanovsky
Date: Sun Oct 18 2026 - 08:13:34 EST
On Sat, 17 Oct 2026 00:15:09 +0300, Serhat Kumral wrote:
> srp_parse_in() returns -ENOMEM without initializing *has_port if
> kstrdup() fails. Only check has_port when srp_parse_in() succeeds.
Applied, thanks!
[1/1] RDMA/srp: Avoid reading uninitialized has_port on srp_parse_in() failure
https://git.kernel.org/rdma/rdma/c/4b8f20dc8d25f5
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>