Skip to content

Commit 740aafd

Browse files
committed
Ensure fdn is zeroed
1 parent 63dbb8f commit 740aafd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ncat/ncat_connect.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ static void post_connect(nsock_pool nsp, nsock_iod iod)
12201220
{
12211221
/* Command to execute. */
12221222
if (o.cmdexec) {
1223-
struct fdinfo info;
1223+
struct fdinfo info = { 0 };
12241224

12251225
info.fd = nsock_iod_get_sd(iod);
12261226
#ifdef HAVE_OPENSSL

0 commit comments

Comments
 (0)