Commit d02ac25
authored
Harden ssl module against LibreSSL CVE-2018-8970.
X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test
ensures that NULL bytes are not allowed.
Signed-off-by: Christian Heimes <[email protected]>
1 parent e4ce9fa commit d02ac25
3 files changed
Lines changed: 10 additions & 3 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Security
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
1663 | 1666 | | |
1664 | 1667 | | |
1665 | 1668 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
| 855 | + | |
| 856 | + | |
856 | 857 | | |
857 | 858 | | |
858 | 859 | | |
| |||
4025 | 4026 | | |
4026 | 4027 | | |
4027 | 4028 | | |
4028 | | - | |
| 4029 | + | |
4029 | 4030 | | |
4030 | 4031 | | |
4031 | 4032 | | |
| |||
4063 | 4064 | | |
4064 | 4065 | | |
4065 | 4066 | | |
4066 | | - | |
| 4067 | + | |
4067 | 4068 | | |
4068 | 4069 | | |
4069 | 4070 | | |
| |||
0 commit comments