commit | 85d71244f02583886dc20a60df2d4657d42116b4 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Fri Jun 01 00:46:29 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Fri Jun 01 08:18:27 2007 -0700 |
tree | 9140675832d488f40f5a4b230ff7c651a598dbf4 | |
parent | 296baae254c2e9ead4da5bfa57ecec86750331c7 [diff] |
Fix possible UDF data corruption update_next_aext() could possibly rewrite values in elen and eloc, possibly leading to data corruption when rewriting a file. Use temporary variables instead. Also advance cur_epos as it can also point to an indirect extent pointer. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>