Akira Fujita
70d5d3dcea
ext4: Fix wrong comparisons in mext_check_arguments()
...
The mext_check_arguments() function in move_extents.c has wrong
comparisons. orig_start which is passed from user-space is block
unit, but i_size of inode is byte unit, therefore the checks do not
work fine. This mis-check leads to the overflow of 'len' and then
hits BUG_ON() in ext4_move_extents(). The patch fixes this issue.
Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Reviewed-by: Greg Freemyer <greg.freemyer@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-09-16 14:28:22 -04:00
..
2009-08-17 16:42:28 -05:00
2009-07-12 12:22:34 -07:00
2009-06-11 21:36:14 -04:00
2009-09-16 15:16:18 +02:00
2009-06-11 21:36:01 -04:00
2009-08-31 17:44:05 -10:00
2009-06-17 08:46:57 -07:00
2009-07-12 12:22:34 -07:00
2009-09-16 15:18:51 +02:00
2009-06-11 21:36:06 -04:00
2009-09-03 15:30:48 +00:00
2009-05-11 14:13:10 +02:00
2009-09-11 09:20:26 +02:00
2009-04-02 19:05:08 -07:00
2009-06-15 21:30:28 -07:00
2009-06-24 08:15:24 -04:00
2009-08-12 17:44:53 -07:00
2009-07-28 14:26:06 -07:00
2009-06-17 00:36:36 -04:00
2009-07-12 12:22:34 -07:00
2009-09-14 17:08:16 +02:00
2009-09-14 17:08:16 +02:00
2009-09-16 14:28:22 -04:00
2009-09-14 17:08:17 +02:00
2009-07-12 12:22:34 -07:00
2009-05-27 10:20:13 -07:00
2009-09-16 15:18:51 +02:00
2009-09-14 17:55:15 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-06-30 18:56:03 -07:00
2009-07-12 12:22:34 -07:00
2009-04-02 19:04:53 -07:00
2009-09-11 09:20:26 +02:00
2009-07-10 19:18:59 -07:00
2009-07-21 11:54:42 +02:00
2009-08-17 21:23:17 -04:00
2009-09-08 11:09:04 -07:00
2009-09-08 11:09:04 -07:00
2009-08-09 15:09:39 -04:00
2009-06-22 11:34:42 -07:00
2009-06-15 21:44:43 -07:00
2009-09-16 15:18:51 +02:00
2009-09-11 14:59:37 -04:00
2009-09-16 15:16:18 +02:00
2009-06-15 21:44:43 -07:00
2009-08-28 12:51:14 -04:00
2009-09-14 17:08:16 +02:00
2009-09-14 17:08:16 +02:00
2009-06-11 21:36:13 -04:00
2009-09-15 09:50:47 -07:00
2009-08-18 16:31:13 -07:00
2009-06-11 21:36:12 -04:00
2009-07-30 17:31:23 +02:00
2009-09-11 09:20:26 +02:00
2009-07-12 12:22:34 -07:00
2009-05-09 10:49:41 -04:00
2009-06-11 21:36:07 -04:00
2009-07-12 12:22:34 -07:00
2009-09-11 09:17:05 -07:00
2009-06-17 00:36:37 -04:00
2009-09-16 15:18:52 +02:00
2009-09-14 19:13:01 +02:00
2009-06-18 13:03:46 -07:00
2009-09-14 17:08:17 +02:00
2009-06-30 18:55:58 -07:00
2009-06-18 14:46:10 +02:00
2009-03-26 02:18:35 +01:00
2009-06-18 13:03:52 -07:00
2009-09-10 20:11:12 +10:00
2009-08-07 10:39:57 -07:00
2009-03-31 23:00:28 -04:00
2009-07-01 10:56:25 +02:00
2009-07-10 20:31:53 +02:00
2009-09-16 15:16:18 +02:00
2009-09-11 09:20:25 +02:00
2009-09-11 09:19:35 -07:00
2009-08-07 10:39:56 -07:00
2009-09-05 11:30:42 -07:00
2009-07-18 15:51:44 +02:00
2009-05-22 23:22:54 +02:00
2009-06-16 19:47:43 -07:00
2009-06-30 18:55:58 -07:00
2009-06-18 13:03:41 -07:00
2009-09-05 11:30:42 -07:00
2009-07-12 12:22:34 -07:00
2009-06-11 21:36:02 -04:00
2009-04-20 23:02:52 -04:00
2009-03-31 23:00:27 -04:00
2009-09-16 15:18:53 +02:00
2009-03-31 23:00:26 -04:00
2009-09-16 15:16:18 +02:00
2009-06-11 21:36:07 -04:00
2009-06-24 08:15:27 -04:00
2009-09-14 18:27:16 +09:00
2009-08-18 16:31:12 -07:00
2009-09-11 13:23:18 -07:00
2009-04-07 08:31:16 -07:00
2009-05-13 15:13:42 -04:00
2009-09-11 08:55:49 -07:00
2009-08-07 10:39:56 -07:00
2009-09-02 21:29:01 +10:00
2009-07-22 21:14:14 +02:00
2009-05-11 14:13:10 +02:00
2009-08-15 18:40:11 -07:00
2009-06-18 13:03:57 -07:00
2009-09-14 17:55:15 -07:00
2009-04-20 23:02:52 -04:00
2009-09-16 15:18:51 +02:00
2009-09-16 15:18:51 +02:00
2009-09-10 10:11:22 +10:00