On Tue, Oct 18, 2016 at 06:02:56PM +0200, G. Campana wrote: > --- > virtio/9p.c | 28 +++++++++++++++++++++++----- > 1 file changed, 23 insertions(+), 5 deletions(-) > > diff --git a/virtio/9p.c b/virtio/9p.c > index cd93d06..87a579f 100644 > --- a/virtio/9p.c > +++ b/virtio/9p.c > @@ -424,7 +424,11 @@ static void virtio_p9_walk(struct p9_dev *p9dev, > if (nwname) { > struct p9_fid *fid = get_fid(p9dev, fid_val); > > - join_path(new_fid, fid->path); > + if (join_path(new_fid, fid->path) != 0) { > + errno = ENAMETOOLONG; > + goto err_out; > + } This patch should be merged in with the introduction of join_path. Will -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html