在 2023/6/26 19:43, Kacper Michajłow 写道:
UCRT version of tmpnam() returns absolute path and L_tmpnam has to be
defined to accomodate that.

Fixes buffer overflow in various software when building with UCRT.

Fixes: https://sourceforge.net/p/mingw-w64/bugs/915/
Signed-off-by: Kacper Michajłow <[email protected]>
---
  mingw-w64-headers/crt/stdio.h | 4 ++++
  1 file changed, 4 insertions(+)

Thanks for the patches. These match UCRT, so pushed to master now.


--
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