Greg Kurz 13fd08e631 9pfs: fix potential segfault during walk
If the call to fid_to_qid() returns an error, we will call v9fs_path_free()
on uninitialized paths.

It is a regression introduced by the following commit:

56f101ecce0e 9pfs: handle walk of ".." in the root directory

Let's fix this by initializing dpath and path before calling fid_to_qid().

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[groug: updated the changelog to indicate this is regression and to provide
        the offending commit SHA1]
Signed-off-by: Greg Kurz <groug@kaod.org>
2016-09-19 11:39:48 +02:00
..
2016-06-06 11:52:34 +02:00
2016-01-29 15:07:23 +00:00
2016-07-01 14:38:54 +02:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-09-19 11:39:48 +02:00
2016-06-06 11:52:34 +02:00
2016-01-08 15:32:13 +05:30
2016-07-21 20:44:20 +03:00