thirdparty.mbedtls: upgrade to v3.6.3.1#24602
Conversation
|
Connected to Huly®: V_0.6-22963 |
spytheman
left a comment
There was a problem hiding this comment.
Excellent, thank you 🙇🏻 .
|
The recent changes in |
|
Yes, the fixes in @kbkpbot Your fix in You must backport fixes (list by @spytheman above) in |
OK , I will verify them. |
|
@kbkpbot Do you update |
git clone --depth=1 --recursive --shallow-submodules --single-branch -b v3.6.3.1 https://github.com/Mbed-TLS/mbedtls.git mbe |
OK, the sources are correctly imported from the |
|
@kbkpbot Could you add a |
|
I am working on it |
… 3.6.3.1 need a higher Windows SDK
|
How to skip MemorySanitizer for Also, due to a bad implementation of __CRT_INLINE PVOID RtlSecureZeroMemory(PVOID ptr,SIZE_T cnt) {
volatile char *vptr =(volatile char *)ptr;
#ifdef __x86_64
__stosb((PBYTE)((DWORD64)vptr),0,cnt); // this is for MSVC only. So tcc need a fallback
#else
while(cnt) {
*vptr = 0;
vptr++;
cnt--;
}
#endif
return ptr;
} |
|
Please restore the The script already did most of the instructions, that are now described in the fix.md file, but the difference between them, is that you can not run the descriptions in the .md file automatically (you have to follow them), but you can run a .vsh one, and it will do more or less the same, but without the possibility of human error. The goal with the patches and scripts, is to have an easy/automated way to replicate the changes, so that they can be both:
|
|
The .vsh script can also apply the .patch file. |

required by #24557
Update
thirdparty/mbedtls/update.vsh, addfix_config().