[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your PR Alexey. -- ___ Python tracker ___

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 65a13c19e86488119cc9bc192f5a0b846d90940f by Miss Islington (bot) in branch '3.6': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739)

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset ca82e3c0ec4d0d5ce4e1ffec98cc341cb5913446 by Miss Islington (bot) in branch '3.7': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739)

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5519 ___ Python tracker ___

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5518 ___ Python tracker ___

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b3b4a9d3001f1fc7df8efcccdce081de54fa5eab by Serhiy Storchaka (Alexey Izbyshev) in branch 'master': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739)

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +5517 stage: -> patch review ___ Python tracker ___

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : MultiByteToWideChar expects the destination buffer size to be given in wide characters, not bytes. This is currently not a real issue since _Py_fopen_obj is only used internally with mode being a short constant string in all call sites