- Notifications
You must be signed in to change notification settings - Fork5k
Commite835e89
committed
Fix memory leak when rejecting bogus DH parameters.
While back-patchinge0e569e, I noted that there were some otherplaces where we ought to be applying DH_free(); namely, where weload some DH parameters from a file and then reject them as notbeing sufficiently secure. While it seems really unlikely thatanybody would hit these code paths in production, let alone doso repeatedly, let's fix it for consistency.Back-patch to v10 where this code was introduced.Discussion:https://postgr.es/m/16160-18367e56e9a28264@postgresql.org1 parentf0c2a5b commite835e89
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
922 | 922 |
| |
923 | 923 |
| |
924 | 924 |
| |
| 925 | + | |
925 | 926 |
| |
926 | 927 |
| |
927 | 928 |
| |
928 | 929 |
| |
929 | 930 |
| |
930 | 931 |
| |
931 | 932 |
| |
| 933 | + | |
932 | 934 |
| |
933 | 935 |
| |
934 | 936 |
| |
| |||
937 | 939 |
| |
938 | 940 |
| |
939 | 941 |
| |
| 942 | + | |
940 | 943 |
| |
941 | 944 |
| |
942 | 945 |
| |
|
0 commit comments
Comments
(0)