mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-14 09:36:39 -04:00
Check for empty string in outcome file name
Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
parent
e50c6edeee
commit
88d7eee00b
@ -551,7 +551,7 @@ int execute_tests( int argc , const char ** argv )
|
|||||||
return( 1 );
|
return( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( outcome_file_name != NULL )
|
if( outcome_file_name != NULL && *outcome_file_name != '\0' )
|
||||||
{
|
{
|
||||||
outcome_file = fopen( outcome_file_name, "a" );
|
outcome_file = fopen( outcome_file_name, "a" );
|
||||||
if( outcome_file == NULL )
|
if( outcome_file == NULL )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user