ports/misc/screen/files/patch-sec1
Kris Kennaway d9b67c242d Patch against a bug which is a local root vulnerability on other platforms,
but which I could not repeat on FreeBSD.  It may still be a problem, but
it looks like screen was already dropping privilege before the operation
in question.

Submitted by:	Roman Drahtmueller <draht@suse.de>
2001-09-04 19:20:42 +00:00

13 lines
354 B
Text

--- screen.c.orig Fri May 25 16:40:10 2001
+++ screen.c Mon Sep 3 15:48:24 2001
@@ -1061,6 +1061,10 @@
Attacher();
/* NOTREACHED */
}
+#ifdef MULTIUSER
+ if (multiattach)
+ Panic(0, "Can't create sessions of other users.");
+#endif
debug("screen -r: backend not responding -- still crying\n");
}
else if (dflag && !mflag)