2606ac97d86d8952ffcdd8f8513b1499c10bf8 parent c963343a1150106819773e828c9b237ed977615b author Bob Copeland 1218786047 -0700 committer Linus Torvalds 1218814544 -0700 omfs: fix oops when file metadata is corrupted A fuzzed fileystem image failed with OMFS when the extent count was used in a loop without being checked against the max number of extents. It also provoked a signed division for an array index that was checked as if unsigned, leading to index by -1. omfsck will be updated to fix these cases, in the meantime bail out gracefully. Reported-by: Eric Sesterhenn Signed-off-by: Bob Copeland Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ©†