]> 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:40:07 +0000 (10:40 -0800)
committerGitHub <noreply@github.com>
Sun, 18 Feb 2018 18:40:07 +0000 (10:40 -0800)
commitca82e3c0ec4d0d5ce4e1ffec98cc341cb5913446
treec10d6de3ad1bcf8509e32c85eeb8deede4cf6e97
parent2e84e47626c6eafacc9f011cd9fccc8bf1c8508e
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