alistair23-linux/drivers/misc
James Bottomley cc9b2e9f66 [SCSI] enclosure: fix oops while iterating enclosure_status array
Based on patch originally by Jeff Mahoney <jeffm@suse.com>

 enclosure_status is expected to be a NULL terminated array of strings
 but isn't actually NULL terminated. When writing an invalid value to
 /sys/class/enclosure/.../.../status, it goes off the end of the array
 and Oopses.


Fix by making the assumption true and adding NULL at the end.

Reported-by: Artur Wojcik <artur.wojcik@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-12-10 08:54:14 -06:00
..
c2port c2port: annotate bitfield for kmemcheck 2009-06-15 15:49:34 +02:00
cb710 cb710: use SG_MITER_TO_SG/SG_MITER_FROM_SG 2009-07-31 12:28:46 +02:00
eeprom at24: Use timeout also for read 2009-11-26 09:22:33 +01:00
hdpuftrs hdpuftrs: fix build 2008-10-30 11:38:46 -07:00
ibmasm headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
iwmc3200top iwmc3200top: revamp fw name handling 2009-11-18 23:29:57 -08:00
sgi-gru tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
sgi-xp Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6 2009-12-08 07:38:50 -08:00
atmel-ssc.c atmel-ssc: fix misuse of dev_dbg when requested ssc instance is not found 2009-02-05 12:56:48 -08:00
atmel_pwm.c atmel_pwm: set up only one PWM clock when allocating a clock 2008-07-24 10:47:25 -07:00
atmel_tclib.c atmel_tc library 2008-03-04 13:41:23 +01:00
ds1682.c i2c/chips: Move ds1682 to drivers/misc 2009-12-06 17:06:16 +01:00
enclosure.c [SCSI] enclosure: fix oops while iterating enclosure_status array 2009-12-10 08:54:14 -06:00
ep93xx_pwm.c ARM: 5628/1: ep93xx: Introduce Pulse Width Modulator (PWM) driver 2009-07-30 17:45:43 +01:00
hpilo.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
hpilo.h hpilo: add interrupt handler 2009-09-15 09:50:48 -07:00
ics932s401.c ics932s401: Clean up detect function 2009-12-06 17:06:26 +01:00
ioc4.c ioc4: automatically load sgiioc4 subordinate module 2009-01-06 15:59:13 -08:00
isl29003.c isl29003: fix resume functionality 2009-05-06 16:36:10 -07:00
Kconfig Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2009-12-08 08:12:16 -08:00
kgdbts.c kgdbts: Use HW breakpoints with CONFIG_DEBUG_RODATA 2008-05-28 12:49:57 -05:00
lkdtm.c kprobes: use do_IRQ() in lkdtm 2009-09-23 07:39:27 -07:00
Makefile Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2009-12-08 08:12:16 -08:00
phantom.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
tifm_7xx1.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
tifm_core.c tifm: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:35 -08:00