1. 26 5月, 2011 1 次提交
  2. 16 3月, 2011 1 次提交
    • P
      Squashfs: handle corruption of directory structure · 44cff8a9
      Phillip Lougher 提交于
      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: NPhillip Lougher <phillip@lougher.demon.co.uk>
      44cff8a9
  3. 18 5月, 2010 2 次提交
  4. 21 1月, 2010 1 次提交
  5. 05 1月, 2009 1 次提交