File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -436,6 +436,10 @@ static int test_tls(func_args* server_args)
436436 char * myArgv [NUMARGS ];
437437 char arg [3 ][128 ];
438438
439+ XMEMSET (& echo_args , 0 , sizeof (echo_args ));
440+ XMEMSET (myArgv , 0 , sizeof (myArgv ));
441+ XMEMSET (arg , 0 , sizeof (arg ));
442+
439443 printf ("\nRunning TLS test\n" );
440444
441445 /* Set up command line arguments for echoclient to send input file
@@ -548,6 +552,14 @@ static void simple_test(func_args* args)
548552 char * cliArgv [NUMARGS ];
549553 char argvc [3 ][32 ];
550554
555+ XMEMSET (& serverThread , 0 , sizeof (serverThread ));
556+ XMEMSET (& svrArgs , 0 , sizeof (svrArgs ));
557+ XMEMSET (svrArgv , 0 , sizeof (svrArgv ));
558+ XMEMSET (argvs , 0 , sizeof (argvs ));
559+ XMEMSET (& cliArgs , 0 , sizeof (cliArgs ));
560+ XMEMSET (cliArgv , 0 , sizeof (cliArgv ));
561+ XMEMSET (argvc , 0 , sizeof (argvc ));
562+
551563 printf ("\nRunning simple test\n" );
552564
553565 for (i = 0 ; i < 9 ; i ++ )
You can’t perform that action at this time.
0 commit comments