mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-10-12 19:57:23 +00:00
Check for empty string in outcome file name
Signed-off-by: gabor-mezei-arm <[email protected]>
This commit is contained in:
@@ -551,7 +551,7 @@ int execute_tests( int argc , const char ** argv )
|
||||
return( 1 );
|
||||
}
|
||||
|
||||
if( outcome_file_name != NULL )
|
||||
if( outcome_file_name != NULL && *outcome_file_name != '\0' )
|
||||
{
|
||||
outcome_file = fopen( outcome_file_name, "a" );
|
||||
if( outcome_file == NULL )
|
||||
|
||||
Reference in New Issue
Block a user