]> granicus.if.org Git - python/commit
bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739)
authorAlexey Izbyshev <izbyshev@users.noreply.github.com>
Sun, 18 Feb 2018 17:57:24 +0000 (20:57 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 18 Feb 2018 17:57:24 +0000 (19:57 +0200)
commitb3b4a9d3001f1fc7df8efcccdce081de54fa5eab
treef7703c631f9a4f6c17e8a71361a42e8a68a5f0a2
parente8eb972514cad6086b752754c1d34d703c04dd82
bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739)

This function expects the destination buffer size to be given
in wide characters, not bytes.
Python/fileutils.c