[lkml]   [2006]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ext3: htree entry integrity checking
    Hash: SHA1

    Andreas Dilger wrote:
    > On Nov 16, 2006 11:50 -0500, Jeff Mahoney wrote:
    >> Currently, if a corrupted directory entry with rec_len=0 is encountered,
    >> we still trust that the data is valid. This can cause an infinite loop
    >> in htree_dirblock_to_tree() since the iteration loop will never make any
    >> progress.
    > Actually, I think Eric Sandeen was working on similar fixes already, and
    > instead of doing a per-item check each time we look at the entry it does
    > a full-block check the first time it is read (as ext2 does).
    >> This fixes the problem described at:
    > Would also be good to CC linux-ext4, where the ext3 maintainers live.

    Ok, thanks. If that's already in -mm, I'll use that one.

    - -Jeff

    - --
    Jeff Mahoney
    SUSE Labs
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with SUSE -

    -----END PGP SIGNATURE-----
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-11-17 01:29    [W:0.020 / U:22.980 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site