diff options
author | Bob Copeland <me@bobcopeland.com> | 2008-08-15 09:40:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-15 17:35:44 +0200 |
commit | 9419fc1c957d600093baaea247fef23cca3b4e93 (patch) | |
tree | 532606ac97d86d8952ffcdd8f8513b1499c10bf8 /include/asm-alpha/machvec.h | |
parent | omfs: fix potential oops when directory size is corrupted (diff) | |
download | linux-9419fc1c957d600093baaea247fef23cca3b4e93.tar.xz linux-9419fc1c957d600093baaea247fef23cca3b4e93.zip |
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 <snakebyte@gmx.de>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-alpha/machvec.h')
0 files changed, 0 insertions, 0 deletions