[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220307141612.GB29247@hoboy.vegasvil.org>
Date: Mon, 7 Mar 2022 06:16:12 -0800
From: Richard Cochran <richardcochran@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Vadim Fedorenko <vadfed@...com>,
Jonathan Lemon <jonathan.lemon@...il.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] ptp: ocp: off by in in ptp_ocp_tod_gnss_name()
On Mon, Mar 07, 2022 at 05:13:18PM +0300, Dan Carpenter wrote:
> The > ARRAY_SIZE() needs to be >= ARRAY_SIZE() to prevent an out of
> bounds access.
>
> Fixes: 9f492c4cb235 ("ptp: ocp: add TOD debug information")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists