mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 13:11:33 +00:00
sanitize pty options
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user