Skip to content

[3.7] bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)#7011

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-c66c342-3.7
May 20, 2018
Merged

[3.7] bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)#7011
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-c66c342-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented May 20, 2018

Copy link
Copy Markdown
Contributor

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.
(cherry picked from commit c66c342)

Co-authored-by: CtrlZvi viz+github@flippedperspective.com

https://bugs.python.org/issue33542

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.
(cherry picked from commit c66c342)

Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@CtrlZvi and @serhiy-storchaka: Backport status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 073eca3 into python:3.7 May 20, 2018
@miss-islington

Copy link
Copy Markdown
Contributor Author

Thanks!

@miss-islington miss-islington deleted the backport-c66c342-3.7 branch May 20, 2018 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants