cpukit/libdebugger: Fix for sockaddr_in not being initialized

See also CID 1468684

Closes #4445
This commit is contained in:
Harrison Edward Gerber
2021-06-01 11:05:54 -07:00
committed by Vijay Kumar Banerjee
parent 6a56fd9340
commit 9429115c8b

View File

@@ -122,7 +122,7 @@ static int
tcp_remote_connect(rtems_debugger_remote* remote)
{
int ld;
struct sockaddr_in addr;
struct sockaddr_in addr = {0};
socklen_t opt;
socklen_t len;
bool running;