mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-16 10:37:54 -04:00
Make NULL tag check more explicit
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
70618b22a9
commit
90fdc117dd
@ -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…
x
Reference in New Issue
Block a user