在 2022-09-14 15:33, Martin Storsjö 写道:
+
+void __cdecl __attribute__((__noreturn__)) __chk_fail(void) {
+  char msg[] = "*** buffer overflow detected ***: terminated\n";
+  write(STDERR_FILENO, msg, strlen(msg));
+  abort();
+}

Are there any reasons why `msg` is not `static const`? I just had a quick glance here and will look into others later.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to