Out-of-bounds array index in acpi_ds_create_operand()

2016-01-24 Thread Eric Biggers
Hi, When booting Linux 4.5-rc1 with UBSAN enabled, I see the following report of undefined behavior: [0.675383] [0.675387] UBSAN: Undefined behaviour in drivers/acpi/acpica/dsutils.c:641:16 [0.675390] i

[PATCH 3.12 111/111] m68k/mac: Fix out-of-bounds array index in OSS IRQ source initialization

2015-06-10 Thread Jiri Slaby
From: Finn Thain 3.12-stable review patch. If anyone has any objections, please let me know. === commit b24f670b7f5b2058b95370caa9f104b3cefb9f1d upstream. Reported-by: David Binderman Signed-off-by: Finn Thain Signed-off-by: Geert Uytterhoeven Signed-off-by: Jiri Slaby --- ar

Re: out-of-bounds array index

2008-02-07 Thread Jens Axboe
On Thu, Feb 07 2008, Jesse Barnes wrote: > On Thursday, February 07, 2008 11:21 am Jan Engelhardt wrote: > > On Feb 7 2008 19:56, Jens Axboe wrote: > > >Just saw this from gcc: > > > > > >drivers/char/drm/i915_drv.c: In function ?i915_suspend?: > > >drivers/char/drm/i915_drv.c:173: warning: array s

Re: out-of-bounds array index

2008-02-07 Thread Jesse Barnes
On Thursday, February 07, 2008 11:21 am Jan Engelhardt wrote: > On Feb 7 2008 19:56, Jens Axboe wrote: > >Just saw this from gcc: > > > >drivers/char/drm/i915_drv.c: In function ?i915_suspend?: > >drivers/char/drm/i915_drv.c:173: warning: array subscript is above array > >bounds > > CC [M] driver

Re: out-of-bounds array index

2008-02-07 Thread Jan Engelhardt
On Feb 7 2008 19:56, Jens Axboe wrote: > >Just saw this from gcc: > >drivers/char/drm/i915_drv.c: In function ?i915_suspend?: >drivers/char/drm/i915_drv.c:173: warning: array subscript is above array >bounds > CC [M] drivers/char/drm/i915_dma.o >drivers/char/drm/i915_drv.c: In function ?i915_res

Re: out-of-bounds array index

2008-02-07 Thread Jesse Barnes
On Thursday, February 07, 2008 10:56 am Jens Axboe wrote: > Hi, > > Just saw this from gcc: > > drivers/char/drm/i915_drv.c: In function ?i915_suspend?: > drivers/char/drm/i915_drv.c:173: warning: array subscript is above array > bounds > CC [M] drivers/char/drm/i915_dma.o > drivers/char/drm/i91

Re: out-of-bounds array index

2008-02-07 Thread Jesse Barnes
On Thursday, February 07, 2008 10:56 am Jens Axboe wrote: > Hi, > > Just saw this from gcc: > > drivers/char/drm/i915_drv.c: In function ?i915_suspend?: > drivers/char/drm/i915_drv.c:173: warning: array subscript is above array > bounds > CC [M] drivers/char/drm/i915_dma.o > drivers/char/drm/i91

out-of-bounds array index

2008-02-07 Thread Jens Axboe
Hi, Just saw this from gcc: drivers/char/drm/i915_drv.c: In function ?i915_suspend?: drivers/char/drm/i915_drv.c:173: warning: array subscript is above array bounds CC [M] drivers/char/drm/i915_dma.o drivers/char/drm/i915_drv.c: In function ?i915_resume?: drivers/char/drm/i915_drv.c:220: warni