forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2f31414
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 parent992cba9 commit2f31414
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
850 | 850 |
| |
851 | 851 |
| |
852 | 852 |
| |
| 853 | + | |
853 | 854 |
| |
854 | 855 |
| |
855 | 856 |
| |
856 | 857 |
| |
857 | 858 |
| |
858 | 859 |
| |
859 | 860 |
| |
| 861 | + | |
860 | 862 |
| |
861 | 863 |
| |
862 | 864 |
| |
| |||
865 | 867 |
| |
866 | 868 |
| |
867 | 869 |
| |
| 870 | + | |
868 | 871 |
| |
869 | 872 |
| |
870 | 873 |
| |
|
0 commit comments
Comments
(0)