]> granicus.if.org Git - python/commit
bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)
authorCtrlZvi <viz+github@flippedperspective.com>
Sun, 20 May 2018 15:03:25 +0000 (08:03 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 20 May 2018 15:03:25 +0000 (18:03 +0300)
commitc66c342cb42ab8a88884527ddfe3a5086bc06316
tree63fbe92c9152418de4654f888d0c43af1ca9e9c5
parent900c48dba3f3eb8fb03ea766a5646f81c3bf3e9c
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.
Lib/uuid.py
Misc/ACKS
Misc/NEWS.d/next/Library/2018-05-16-09-30-27.bpo-33542.idNAcs.rst [new file with mode: 0644]