]> granicus.if.org Git - python/commit
bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 18 Feb 2018 18:58:09 +0000 (10:58 -0800)
committerGitHub <noreply@github.com>
Sun, 18 Feb 2018 18:58:09 +0000 (10:58 -0800)
commit65a13c19e86488119cc9bc192f5a0b846d90940f
tree32b0580a19cf8bcd694948dc5444d81a6e3de379
parent17ca4e193ea25f13a5f0309a0713a6b5bedaf3e4
bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739)

This function expects the destination buffer size to be given
in wide characters, not bytes.
(cherry picked from commit b3b4a9d3001f1fc7df8efcccdce081de54fa5eab)

Co-authored-by: Alexey Izbyshev <izbyshev@users.noreply.github.com>
Python/fileutils.c