[Top] [All Lists]

[PATCH 0/3] metadump: fixes for obfuscated dumps

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/3] metadump: fixes for obfuscated dumps
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 28 Feb 2014 17:25:20 +1100
Delivered-to: xfs@xxxxxxxxxxx
Hi folks,

The single patch to fix verifier failures in metadata dump has
grown. I identified a problem with processing of multiple objects in
a single buffer which prevented crcs from being calculated correctly
on obfuscated buffers. The first patch fixes that.

The second patch is the 3rd version ofteh original patch. If fixes
the problems that Eric pointed out, and it does the correct thing
w.r.t to contiguous blocks of single objects as well as inodes with
local format data.

The third patch is a fix for a problem that I came across in
testing. fsstress left a symlink that consumed the entire inode
literal area and so exposed a bug in the path name obfuscation where
it failed to correctly recognise the end of the symlink. We don't
store symlinks in null terminated form, so the use of strlen to
calculate the length of the last componenet was a timebomb waiting
to go off...



<Prev in Thread] Current Thread [Next in Thread>