]> granicus.if.org Git - python/commit
bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-14462)
authorZackery Spytz <zspytz@gmail.com>
Mon, 9 Sep 2019 09:20:39 +0000 (03:20 -0600)
committerSteve Dower <steve.dower@python.org>
Mon, 9 Sep 2019 09:20:38 +0000 (02:20 -0700)
commita6563650c835d50f7302971a5b145e94f9d0dc68
tree9633cf07c93d183f095a39314b55e59d26b68bcd
parent7669cb8b21c7c9cef758609c44017c09d1ce4658
bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-14462)

If FormatMessageW() is passed the FORMAT_MESSAGE_FROM_SYSTEM flag without FORMAT_MESSAGE_IGNORE_INSERTS, it will fail if there are insert sequences in the message definition.
Misc/NEWS.d/next/Windows/2019-06-28-18-10-29.bpo-37445.LsdYO6.rst [new file with mode: 0644]
Modules/_ctypes/callproc.c
Modules/overlapped.c
PC/bdist_wininst/install.c