[PATCH, v2] xfsdump: fix format string in restore_spec()

Ben Myers bpm at sgi.com
Fri Jan 4 16:11:18 CST 2013


On Thu, Dec 27, 2012 at 08:10:14AM -0600, Alex Elder wrote:
> Nigel Tamplin reported getting a seg fault in xfsrestore when a path
> name was too long.  He correctly diagnosed that the problem was due
> to an extra "%s" format specifier in the format value passed to a
> call to mlog().  This patch corrects that.
> 
> Signed-off-by: Alex Elder <elder at inktank.com>
> Reported-by: Nigel Tamplin <ntamplin at codefaber.co.uk>
> Tested-by: Nigel Tamplin <ntamplin at codefaber.co.uk>

Looks good!

committed to git://oss.sgi.com/xfs/cmds/xfsdump.git.

Thanks Nigel and Alex.



More information about the xfs mailing list