在 2025-7-15 02:20, Pali Rohár 写道:
---
  mingw-w64-crt/ssp/stack_chk_guard.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-crt/ssp/stack_chk_guard.c 
b/mingw-w64-crt/ssp/stack_chk_guard.c
index be43d8c7e222..8f0ca8581dde 100644
--- a/mingw-w64-crt/ssp/stack_chk_guard.c
+++ b/mingw-w64-crt/ssp/stack_chk_guard.c
@@ -25,7 +25,7 @@ static void __cdecl init(void)
    // callable in WinStore mode too (since it's from the CRT).
    // In the case of msvcrt.dll, our import library provides a small wrapper
    // which tries to load the function dynamically, and falls back on
-  // using RtlRandomGen if not available.
+  // using RtlGenRandom if not available.
    if (rand_s(&ui) == 0) {
      __stack_chk_guard = (void*)(intptr_t)ui;
  #if __SIZEOF_POINTER__ > 4

Thanks for the patch. Pushed now.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to