shithub: drawterm

Download patch

ref: d06ed886c61c93037129a6693ab3db07c070f291
parent: 7e48e47ab0b00dfe5674b3555a52cace2eb12b98
author: mischief <mischief@offblast.org>
date: Wed Sep 12 03:29:20 EDT 2018

kern: fix *another* longjmp bug

mark path volatile, otherwise pathclose will read a trashed register instead of
the stack variable in waserror block

--- a/kern/chan.c	Tue Sep 11 22:34:02 2018
+++ b/kern/chan.c	Wed Sep 12 03:29:20 2018
@@ -1164,7 +1164,7 @@
 	int len, n, t, nomount;
 	Chan *c;
 	Chan *volatile cnew;
-	Path *path;
+	Path *volatile path;
 	Elemlist e;
 	Rune r;
 	Mhead *m;