mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-17 11:08:28 -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
|
* Even if the operation succeeds, make sure we clear the rest of the
|
||||||
* buffer to prevent potential leakage of anything previously placed in
|
* buffer to prevent potential leakage of anything previously placed in
|
||||||
* the same buffer.*/
|
* the same buffer.*/
|
||||||
if( tag )
|
if( tag != NULL )
|
||||||
{
|
{
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
memset( tag, '!', tag_size );
|
memset( tag, '!', tag_size );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user