Boaz Harrosh
922c97919d
ore: Fix out-of-bounds access in _ios_obj()
...
commit 9e62bb4458 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 >
2012-08-10 00:25:12 +01:00
..
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2012-03-23 11:21:22 -07:00
2012-05-11 13:14:44 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2012-08-02 14:38:02 +01:00
2011-12-29 08:05:14 -08:00
2012-08-02 14:37:41 +01:00
2011-11-02 12:53:43 +01:00
2011-12-13 12:35:15 -05:00
2011-11-02 12:53:43 +01:00
2012-07-25 04:11:44 +01:00
2011-11-02 12:53:43 +01:00
2012-08-10 00:25:12 +01:00
2011-11-02 11:41:01 -07:00
2012-05-31 00:43:52 +01:00
2012-08-02 14:37:58 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2012-06-19 23:18:05 +01:00
2011-11-06 19:44:47 -08:00
2011-11-15 14:29:42 -02:00
2012-05-11 13:14:56 +01:00
2011-11-02 11:41:01 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2012-08-02 14:37:32 +01:00
2011-11-02 16:07:27 -07:00
2012-02-03 09:21:32 -08:00
2012-05-11 13:13:59 +01:00
2012-05-20 22:56:41 +01:00
2011-11-06 19:44:47 -08:00
2012-05-11 13:14:15 +01:00
2011-11-06 19:44:47 -08:00
2012-01-04 15:03:06 -08:00
2011-12-14 00:45:33 -05:00
2012-08-10 00:24:59 +01:00
2012-08-10 00:24:39 +01:00
2012-08-10 00:25:02 +01:00
2012-01-25 16:13:33 -08:00
2011-11-02 12:53:43 +01:00
2012-07-25 04:11:14 +01:00
2011-11-02 12:53:43 +01:00
2012-03-19 09:02:34 -07:00
2012-04-02 09:52:52 -07:00
2011-11-17 12:58:07 -08:00
2011-11-02 12:53:43 +01:00
2011-11-06 19:02:23 -08:00
2012-07-25 04:11:16 +01:00
2012-01-12 11:29:30 -08:00
2011-11-02 12:53:43 +01:00
2011-11-04 16:48:37 -07:00
2012-04-02 09:52:30 -07:00
2011-11-02 12:53:43 +01:00
2012-07-25 04:11:29 +01:00
2012-08-02 14:37:46 +01:00
2011-11-02 12:53:43 +01:00
2012-04-02 09:53:06 -07:00
2012-05-31 00:43:29 +01:00
2012-06-10 14:41:50 +01:00
2012-03-12 12:31:24 -07:00
2011-11-02 12:53:43 +01:00
2011-10-31 19:30:31 -04:00
2012-05-31 00:43:15 +01:00
2012-05-31 00:44:04 +01:00
2012-07-25 04:11:18 +01:00
2011-10-31 17:30:44 -07:00
2012-04-02 09:53:04 -07:00
2011-10-28 14:58:58 +02:00
2012-07-25 04:11:06 +01:00
2012-05-11 13:15:03 +01:00
2012-07-25 04:11:24 +01:00
2012-02-20 12:46:16 -08:00
2011-11-02 12:53:43 +01:00
2011-10-31 19:30:31 -04:00
2012-01-12 11:29:29 -08:00
2011-11-02 12:53:43 +01:00
2012-08-02 14:37:59 +01:00
2011-10-27 08:36:51 +02:00
2012-03-19 09:02:20 -07:00
2012-06-10 14:41:51 +01:00
2012-07-12 04:32:20 +01:00
2012-05-11 13:14:43 +01:00
2011-10-28 14:58:54 +02:00
2011-10-31 17:30:44 -07:00
2011-12-06 23:57:18 -05:00
2012-02-29 16:31:24 -08:00
2012-07-12 04:31:59 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:42 +01:00
2011-11-04 18:15:59 -07:00
2012-05-31 00:43:54 +01:00
2011-10-31 00:33:36 +08:00