Fix braces in mbedtls_memory_buffer_alloc_status()

This commit is contained in:
Darryl Green 2017-11-27 17:12:14 +00:00 committed by Simon Butcher
parent 6856c2ebb5
commit 68207f868b
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,10 @@
mbed TLS ChangeLog (Sorted per branch, date)
= mbed TLS 2.7.4 branch released xxxx-xx-xx
Bugfix
* Fix braces in mbedtls_memory_buffer_alloc_status(). Found by sbranden, #552.
= mbed TLS 2.7.3 branch released 2018-04-30
Security

View file

@ -522,7 +522,9 @@ void mbedtls_memory_buffer_alloc_status()
heap.alloc_count, heap.free_count );
if( heap.first->next == NULL )
{
mbedtls_fprintf( stderr, "All memory de-allocated in stack buffer\n" );
}
else
{
mbedtls_fprintf( stderr, "Memory currently allocated:\n" );