Commit f5658f9
committed
Fix cast-away-const in ws_ctx_ssl_set_tmp_dh: allocate DerBuffer with actual size and copy data instead of pointing at caller's const buffer, which caused FreeDer to free non-owned memory.
1 parent b067686 commit f5658f9
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5930 | 5930 | | |
5931 | 5931 | | |
5932 | 5932 | | |
5933 | | - | |
5934 | | - | |
| 5933 | + | |
| 5934 | + | |
5935 | 5935 | | |
5936 | | - | |
5937 | | - | |
5938 | | - | |
| 5936 | + | |
5939 | 5937 | | |
5940 | 5938 | | |
5941 | 5939 | | |
| |||
0 commit comments