android_kernel_oneplus_msm8998/fs/exofs
Boaz Harrosh 9e62bb4458 ore: Fix out-of-bounds access in _ios_obj()
_ios_obj() is accessed by group_index not device_table index.

The oc->comps array is only a group_full of devices at a time
it is not like ore_comp_dev() which is indexed by a global
device_table index.

This did not BUG until now because exofs only uses a single
COMP for all devices. But with other FSs like PanFS this is
not true.

This bug was only in the write_path, all other users were
using it correctly

[This is a bug since 3.2 Kernel]
CC: Stable Tree <stable@kernel.org>

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
2012-08-02 16:41:56 +03:00
..
BUGS exofs: Documentation 2009-03-31 19:44:38 +03:00
common.h Fix common misspellings 2011-03-31 11:26:23 -03:00
dir.c exofs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:22 +08:00
exofs.h exofs: Add SYSFS info for autologin/pNFS export 2012-05-21 12:24:01 +03:00
file.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
inode.c exofs: Use proper max_IO calculations from ore 2012-08-02 16:39:17 +03:00
Kbuild exofs: Add SYSFS info for autologin/pNFS export 2012-05-21 12:24:01 +03:00
Kconfig ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
Kconfig.ore ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
namei.c vfs: check i_nlink limits in vfs_{mkdir,rename_dir,link} 2012-03-20 21:29:32 -04:00
ore.c ore: Fix out-of-bounds access in _ios_obj() 2012-08-02 16:41:56 +03:00
ore_raid.c ore: Unlock r4w pages in exact reverse order of locking 2012-07-20 11:49:25 +03:00
ore_raid.h ore: RAID5 Write 2011-10-24 17:15:33 -07:00
super.c exofs: stop using s_dirt 2012-08-02 14:52:13 +03:00
symlink.c exofs: Remove IBM copyrights 2009-06-21 17:53:47 +03:00
sys.c exofs: fix sparse non-ANSI function warning 2012-06-12 06:33:22 +03:00