summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorCtrlZvi <viz+github@flippedperspective.com>2018-05-20 15:03:25 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-05-20 15:03:25 (GMT)
commitc66c342cb42ab8a88884527ddfe3a5086bc06316 (patch)
tree63fbe92c9152418de4654f888d0c43af1ca9e9c5 /Misc/NEWS.d/next/Library
parent900c48dba3f3eb8fb03ea766a5646f81c3bf3e9c (diff)
downloadcpython-c66c342cb42ab8a88884527ddfe3a5086bc06316.zip
cpython-c66c342cb42ab8a88884527ddfe3a5086bc06316.tar.gz
cpython-c66c342cb42ab8a88884527ddfe3a5086bc06316.tar.bz2
bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)
uuid._ipconfig_getnode did not validate the maximum length of the value, so long as the value had the same type of formatting as a MAC address. This let it select DUIDs as MAC addresses. It now requires an exact length match.
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst b/Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst
new file mode 100644
index 0000000..16ba799
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst
@@ -0,0 +1,2 @@
+Prevent ``uuid.get_node`` from using a DUID instead of a MAC on Windows.
+Patch by Zvi Effron