Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Commitb98e779
authored
CVE-2020-14422The __hash__() methods of classes IPv4Interface and IPv6Interface had issueof generating constant hash values of 32 and 128 respectively causing hash collisions.The fix uses the hash() function to generate hash values for the objectsinstead of XOR operation(cherry picked from commitb30ee26)Co-authored-by: Ravi Teja P <rvteja92@gmail.com>Signed-off-by: Tapas Kundu <tkundu@vmware.com>
1 parent4fdc175 commitb98e779
File tree
3 files changed
+14
-2
lines changed- Lib
- test
- Misc/NEWS.d/next/Security
3 files changed
+14
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1442 | 1442 |
| |
1443 | 1443 |
| |
1444 | 1444 |
| |
1445 |
| - | |
| 1445 | + | |
1446 | 1446 |
| |
1447 | 1447 |
| |
1448 | 1448 |
| |
| |||
2088 | 2088 |
| |
2089 | 2089 |
| |
2090 | 2090 |
| |
2091 |
| - | |
| 2091 | + | |
2092 | 2092 |
| |
2093 | 2093 |
| |
2094 | 2094 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2091 | 2091 |
| |
2092 | 2092 |
| |
2093 | 2093 |
| |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
2094 | 2105 |
| |
2095 | 2106 |
| |
2096 | 2107 |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + |
0 commit comments
Comments
(0)