summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst
diff options
context:
space:
mode:
authorSSE4 <tomskside@gmail.com>2018-02-12 17:10:35 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-02-12 17:10:35 (GMT)
commit3c34aad4e7a95913ec7db8e5e948a8fc69047bf7 (patch)
tree53894ed7dec376f07d8e9a6944e6ae97dc533156 /Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst
parent6ea20fc719dcaf102d2cefa1786f0421514f7a58 (diff)
downloadcpython-3c34aad4e7a95913ec7db8e5e948a8fc69047bf7.zip
cpython-3c34aad4e7a95913ec7db8e5e948a8fc69047bf7.tar.gz
cpython-3c34aad4e7a95913ec7db8e5e948a8fc69047bf7.tar.bz2
bpo-29248: Fix os.readlink() on Windows (GH-5577)
The PrintNameOffset field of the reparse data buffer was treated as a number of characters instead of bytes.
Diffstat (limited to 'Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst')
-rw-r--r--Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst b/Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst
new file mode 100644
index 0000000..3030ef6
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2018-02-07-17-50-48.bpo-29248.Xzwj-6.rst
@@ -0,0 +1,3 @@
+Fix :func:`os.readlink` on Windows, which was mistakenly treating the
+``PrintNameOffset`` field of the reparse data buffer as a number of
+characters instead of bytes. Patch by Craig Holmquist and SSE4.