[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160531.115318.1748170211000331540.davem@davemloft.net>
Date: Tue, 31 May 2016 11:53:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: 3chas3@...il.com, linux-atm-general@...ts.sourceforge.net,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] atm: iphase: off by one in rx_pkt()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Fri, 27 May 2016 13:34:35 +0300
> The iadev->rx_open[] array holds "iadev->num_vc" pointers (this code
> assumes that pointers are 32 bits). So the > here should be >= or else
> we could end up reading a garbage pointer from one element beyond the
> end of the array.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists