]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-15822)
authorZackery Spytz <zspytz@gmail.com>
Wed, 11 Sep 2019 09:39:34 +0000 (03:39 -0600)
committerSteve Dower <steve.dower@python.org>
Wed, 11 Sep 2019 09:39:34 +0000 (10:39 +0100)
commit289c5ea7737e44e3b150532b3498e3d3d4c70d99
tree5a4a64123fa06f5b2f7b0e1ae6ad548a95a74e8b
parent58d61efd4cdece3b026868a66d829001198d29b1
bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-15822)

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 a656365)
Misc/NEWS.d/next/Windows/2019-06-28-18-10-29.bpo-37445.LsdYO6.rst [new file with mode: 0644]
Modules/_ctypes/callproc.c
PC/bdist_wininst/install.c