bpo-33542: Ignore DUID in uuid.get_node on Windows by CtrlZvi · Pull Request #6922 · python/cpython

serhiy-storchaka

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.

serhiy-storchaka

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 20, 2018
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>

serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request

May 20, 2018
)

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>

serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request

May 20, 2018
)

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 added a commit that referenced this pull request

May 20, 2018
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>

serhiy-storchaka added a commit that referenced this pull request

May 20, 2018
…H-7015)

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>

serhiy-storchaka added a commit that referenced this pull request

May 21, 2018
…H-7014)

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>