commit 43d117b11c4c66b698f136129c597c051c69f6a3 from: Omar Polo date: Sun Jan 16 11:08:21 2022 UTC walk_path: consume only the returned amount of qids due to a typo, we end up trying to consume the *expected* amount of qids, but the walk could be shorter. commit - 8f9f99f7fc753a3bf04eff946db4332ebd75a811 commit + 43d117b11c4c66b698f136129c597c051c69f6a3 blob - a2b0e5c0e7c1396d99b63d21105dcba6e63fbe42 blob + 1401f83be897be2085fae1ceff14d781238fcc44 --- kamiftp/ftp.c +++ kamiftp/ftp.c @@ -524,7 +524,7 @@ walk_path(int fid, int newfid, const char *path, int * assert(nwqid <= nwname); /* consume all qids */ - for (i = 0; i < nwname; ++i) + for (i = 0; i < nwqid; ++i) np_read_qid(buf, qid); free(p);