openbsd-ports/x11/kde/arts3/patches/patch-soundserver_artswrapper_c
brad 951c784e5f - remove suid bit to prevent local DoS
- fix format string bug
2002-08-16 22:33:21 +00:00

14 lines
414 B
Plaintext

$OpenBSD: patch-soundserver_artswrapper_c,v 1.1 2002/08/16 22:33:21 brad Exp $
--- soundserver/artswrapper.c.orig Wed Aug 14 22:13:20 2002
+++ soundserver/artswrapper.c Wed Aug 14 22:14:10 2002
@@ -84,7 +84,9 @@ int main(int argc, char **argv)
}
}
+#if defined (NO_MORE_LOCAL_DOS_HOLE)
adjust_priority();
+#endif
/* drop root privileges if running setuid root
(due to realtime priority stuff) */