sanitize pty options

This commit is contained in:
Unbit
2013-08-23 17:50:31 +02:00
parent 0f5336028f
commit dc4e8950d2
+2
View File
@@ -190,6 +190,8 @@ static void *uwsgi_pty_loop(void *arg) {
static void uwsgi_pty_init() {
if (!upty.addr) return;
if (!uwsgi.master_process) return;
if (uwsgi.mywid > 0) return;
char *tcp_port = strrchr(upty.addr, ':');
if (tcp_port) {