[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220307170729.cd7ek7gtwem6phii@bsd-mbp.dhcp.thefacebook.com>
Date: Mon, 7 Mar 2022 09:07:29 -0800
From: Jonathan Lemon <jonathan.lemon@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Richard Cochran <richardcochran@...il.com>,
Vadim Fedorenko <vadfed@...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: Jonathan Lemon <jonathan.lemon@...il.com>
Powered by blists - more mailing lists