[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250106152046.GC33144@kernel.org>
Date: Mon, 6 Jan 2025 15:20:46 +0000
From: Simon Horman <horms@...nel.org>
To: Shannon Nelson <shannon.nelson@....com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
edumazet@...gle.com, pabeni@...hat.com, andrew+netdev@...n.ch,
jacob.e.keller@...el.com, brett.creeley@....com
Subject: Re: [PATCH net] pds_core: limit loop over fw name list
On Fri, Jan 03, 2025 at 11:51:47AM -0800, Shannon Nelson wrote:
> Add an array size limit to the for-loop to be sure we don't try
> to reference a fw_version string off the end of the fw info names
> array. We know that our firmware only has a limited number
> of firmware slot names, but we shouldn't leave this unchecked.
>
> Fixes: 45d76f492938 ("pds_core: set up device and adminq")
> Signed-off-by: Shannon Nelson <shannon.nelson@....com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists