[PATCH 3/3] metadump: pathname obfuscation overruns symlink buffer

Dave Chinner david at fromorbit.com
Fri Feb 28 17:28:16 CST 2014


On Fri, Feb 28, 2014 at 11:44:11AM -0600, Eric Sandeen wrote:
> On 2/28/14, 12:25 AM, Dave Chinner wrote:
> > diff --git a/db/metadump.c b/db/metadump.c
> > index 3248009..cd489a6 100644
> > --- a/db/metadump.c
> > +++ b/db/metadump.c
> > @@ -1015,16 +1015,23 @@ obfuscate_sf_dir(
> >  	}
> >  }
> >  
> > +/*
> > + * The pathname may not be null terminated. It name be terminated by the end of
> 
> can you fix up the start of that 2nd sentence?

Done.

> 
> Otherwise,
> 
> Reviewed-by: Eric Sandeen <sandeen at redhat.com>

Thanks!

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list