[CRIU] [PATCH] mount: check bondaries in mount_resolve_path

Cyrill Gorcunov gorcunov at gmail.com
Tue Mar 18 04:50:58 PDT 2014


On Tue, Mar 18, 2014 at 03:40:48PM +0400, Cyrill Gorcunov wrote:
> > +			if (n < pathlen && path[n] != '/')
> > +				continue;
> 
> Don't you want it to be path[n - 1] != '/' ?

Sorry for noise, all is right

Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>


More information about the CRIU mailing list