mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
listenaddr must be malloced
This commit is contained in:
@@ -199,7 +199,7 @@ static int svr_remotetcpreq() {
|
||||
}
|
||||
else
|
||||
{
|
||||
tcpinfo->listenaddr = request_addr;
|
||||
tcpinfo->listenaddr = m_strdup(request_addr);
|
||||
}
|
||||
|
||||
ret = listen_tcpfwd(tcpinfo);
|
||||
|
||||
Reference in New Issue
Block a user