shithub: ext4srv

Download patch

ref: 22b296500a2ba685943388ff28c7d8b8f42cbeb5
parent: 7e6af6b00ee3034daa6a1a1e9c6cb97c94b57196
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Nov 14 12:14:29 EST 2020

rwalk1: fix ..

--- a/ext4srv.c
+++ b/ext4srv.c
@@ -722,7 +722,7 @@
 
 	q = s;
 	s = smprint("%s/%s", q, name);
-	cleanname(s);
+	cleanname(strchr(s+1, '/'));
 	free(q);
 	if((s = linkresolve(a, s, nil)) == nil){
 		rerrstr(errbuf, sizeof(errbuf));