diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2012-08-01 17:48:36 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-08-10 00:25:12 +0100 |
commit | 922c97919db25e0950d180affa68d52af087a161 (patch) | |
tree | f846448e8160faec27bcf471eafde5d3ee5869bb /fs/stat.c | |
parent | 18fbe5a70ce1b692f2171bd4afe13c334ec778fc (diff) |
ore: Fix out-of-bounds access in _ios_obj()
commit 9e62bb4458ad2cf28bd701aa5fab380b846db326 upstream.
_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]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions