1. 16 Mar, 2011 1 commit
    • Phillip Lougher's avatar
      Squashfs: handle corruption of directory structure · 44cff8a9
      Phillip Lougher authored
      Handle the rare case where a directory metadata block is uncompressed and
      corrupted, leading to a kernel oops in directory scanning (memcpy).
      Normally corruption is detected at the decompression stage and dealt with
      then, however, this will not happen if:
      
      - metadata isn't compressed (users can optionally request no metadata
        compression), or
      - the compressed metadata block was larger than the original, in which
        case the uncompressed version was used, or
      - the data was corrupt after decompression
      
      This patch fixes this by adding some sanity checks against known maximum
      values.
      Signed-off-by: default avatarPhillip Lougher <phillip@lougher.demon.co.uk>
      44cff8a9
  2. 28 Feb, 2011 6 commits
  3. 08 Feb, 2011 1 commit
  4. 07 Feb, 2011 28 commits
  5. 06 Feb, 2011 4 commits