Merge pull request #4203 from paul-elliott-arm/memsan_fix_build
Fix memsan build with Clang 11
This commit is contained in:
commit
0135516d55
2 changed files with 4 additions and 0 deletions
2
ChangeLog.d/fix_memsan_build_clang11.txt
Normal file
2
ChangeLog.d/fix_memsan_build_clang11.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Changes
|
||||
* Fix memsan build false positive in x509_crt.c with clang 11
|
|
@ -1629,6 +1629,8 @@ cleanup:
|
|||
}
|
||||
#endif /* MBEDTLS_THREADING_C */
|
||||
|
||||
memset( &sb, 0, sizeof( sb ) );
|
||||
|
||||
while( ( entry = readdir( dir ) ) != NULL )
|
||||
{
|
||||
snp_ret = mbedtls_snprintf( entry_name, sizeof entry_name,
|
||||
|
|
Loading…
Reference in a new issue