]> granicus.if.org Git - python/commit
bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-14462)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Sep 2019 09:50:30 +0000 (02:50 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2019 09:50:30 +0000 (02:50 -0700)
commite103732f5df13a97f610a8b80883895f7a273573
tree096e25c0407f7cc42a2d7da9fa5356931adc01a4
parent6e3809c7ce9fbee11c3a3f89dd7e89829b7581ac
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.
(cherry picked from commit a6563650c835d50f7302971a5b145e94f9d0dc68)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
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