~ft/c9

ccbf4c390afd940d21e4f5e5897a8c9d1d5ed1b1 — Sigrid Haflínudóttir 6 years ago bf1ceba + 589af8c
Merge pull request #4 from richiefreedom/fix-tcreate-parsing

fix incorrect Tcreate parsing
1 files changed, 1 insertions(+), 0 deletions(-)

M c9.c
M c9.c => c9.c +1 -0
@@ 1074,6 1074,7 @@ s9proc(C9ctx *c)
		if((cnt = r16(&b)) < 1 || cnt > sz-4-2-4-1)
			goto error;
		t.create.name = (char*)b;
		b += cnt;
		t.create.perm = r32(&b);
		t.create.mode = r08(&b);
		t.create.name[cnt] = 0;