mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
listenaddr must be malloced
This commit is contained in:
parent
01bde8ff94
commit
2b891f5eb3
@ -199,7 +199,7 @@ static int svr_remotetcpreq() {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tcpinfo->listenaddr = request_addr;
|
tcpinfo->listenaddr = m_strdup(request_addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = listen_tcpfwd(tcpinfo);
|
ret = listen_tcpfwd(tcpinfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user