Make NULL tag check more explicit
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
70618b22a9
commit
90fdc117dd
1 changed files with 1 additions and 1 deletions
|
@ -3760,7 +3760,7 @@ exit:
|
|||
* Even if the operation succeeds, make sure we clear the rest of the
|
||||
* buffer to prevent potential leakage of anything previously placed in
|
||||
* the same buffer.*/
|
||||
if( tag )
|
||||
if( tag != NULL )
|
||||
{
|
||||
if( status != PSA_SUCCESS )
|
||||
memset( tag, '!', tag_size );
|
||||
|
|
Loading…
Reference in a new issue