summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTapas Kundu <39723251+tapakund@users.noreply.github.com>2020-08-04 02:33:30 (GMT)
committerGitHub <noreply@github.com>2020-08-04 02:33:30 (GMT)
commit11d258ceafdf60ab3840f9a5700f2d0ad3e2e2d1 (patch)
tree5886799983f76fb805a146154c9ebbeefbcff21e /Python
parentf205f1000a2d7f8b044caf281041b3705f293480 (diff)
downloadcpython-11d258ceafdf60ab3840f9a5700f2d0ad3e2e2d1.zip
cpython-11d258ceafdf60ab3840f9a5700f2d0ad3e2e2d1.tar.gz
cpython-11d258ceafdf60ab3840f9a5700f2d0ad3e2e2d1.tar.bz2
[3.5] bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface (GH-21033) (#21233)
CVE-2020-14422: The __hash__() methods of classes IPv4Interface and IPv6Interface had issue of generating constant hash values of 32 and 128 respectively causing hash collisions. The fix uses the hash() function to generate hash values for the objects instead of XOR operation. (cherry picked from commit b30ee26e366bf509b7538d79bfec6c6d38d53f28) Co-authored-by: Ravi Teja P <rvteja92@gmail.com> Signed-off-by: Tapas Kundu <tkundu@vmware.com>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions