Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-31 Thread Sean Paul
On Tue, Jan 31, 2017 at 11:45:48AM +, John Keeping wrote: > On Mon, 30 Jan 2017 15:09:55 -0500, Sean Paul wrote: > > > On Mon, Jan 30, 2017 at 06:16:36PM +, John Keeping wrote: > > > On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > > > > > > > On Sun, Jan 29, 2017 at 01:24:26PM

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-31 Thread Sean Paul
On Tue, Jan 31, 2017 at 11:45:48AM +, John Keeping wrote: > On Mon, 30 Jan 2017 15:09:55 -0500, Sean Paul wrote: > > > On Mon, Jan 30, 2017 at 06:16:36PM +, John Keeping wrote: > > > On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > > > > > > > On Sun, Jan 29, 2017 at 01:24:26PM

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-31 Thread John Keeping
On Mon, 30 Jan 2017 15:09:55 -0500, Sean Paul wrote: > On Mon, Jan 30, 2017 at 06:16:36PM +, John Keeping wrote: > > On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > > > > > On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > > > > As a side-effect of this, encode the

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-31 Thread John Keeping
On Mon, 30 Jan 2017 15:09:55 -0500, Sean Paul wrote: > On Mon, Jan 30, 2017 at 06:16:36PM +, John Keeping wrote: > > On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > > > > > On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > > > > As a side-effect of this, encode the

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-30 Thread Sean Paul
On Mon, Jan 30, 2017 at 06:16:36PM +, John Keeping wrote: > On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > > > On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > > > As a side-effect of this, encode the endianness explicitly rather than > > > casting a u16. > > > > > >

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-30 Thread Sean Paul
On Mon, Jan 30, 2017 at 06:16:36PM +, John Keeping wrote: > On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > > > On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > > > As a side-effect of this, encode the endianness explicitly rather than > > > casting a u16. > > > > > >

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-30 Thread John Keeping
On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > > As a side-effect of this, encode the endianness explicitly rather than > > casting a u16. > > > > Signed-off-by: John Keeping > > Reviewed-by: Chris Zhong

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-30 Thread John Keeping
On Mon, 30 Jan 2017 13:01:46 -0500, Sean Paul wrote: > On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > > As a side-effect of this, encode the endianness explicitly rather than > > casting a u16. > > > > Signed-off-by: John Keeping > > Reviewed-by: Chris Zhong > > --- > > v3: >

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-30 Thread Sean Paul
On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > As a side-effect of this, encode the endianness explicitly rather than > casting a u16. > > Signed-off-by: John Keeping > Reviewed-by: Chris Zhong > --- > v3: > - Add Chris' Reviewed-by >

Re: [PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-30 Thread Sean Paul
On Sun, Jan 29, 2017 at 01:24:26PM +, John Keeping wrote: > As a side-effect of this, encode the endianness explicitly rather than > casting a u16. > > Signed-off-by: John Keeping > Reviewed-by: Chris Zhong > --- > v3: > - Add Chris' Reviewed-by > Unchanged in v2 > >

[PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-29 Thread John Keeping
As a side-effect of this, encode the endianness explicitly rather than casting a u16. Signed-off-by: John Keeping Reviewed-by: Chris Zhong --- v3: - Add Chris' Reviewed-by Unchanged in v2 drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 9 +++-- 1 file

[PATCH v3 06/24] drm/rockchip: dw-mipi-dsi: avoid out-of-bounds read on tx_buf

2017-01-29 Thread John Keeping
As a side-effect of this, encode the endianness explicitly rather than casting a u16. Signed-off-by: John Keeping Reviewed-by: Chris Zhong --- v3: - Add Chris' Reviewed-by Unchanged in v2 drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-)