Commit 9bc93cb
committed
Reapply the fix *intended* by rev 1.79 in a safer manner. Prior to
all assignments and the final SSL_free(), free ssl_conn->client_cert
to avoid leaks of this refcounted X509*. Prereleasing refcounted
objects is unsafe programming; fix applied to both branches.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@99251 13f79535-47bb-0310-9956-ffa450edef68
1 parent af74de2 commit 9bc93cb
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
998 | 1002 | | |
999 | 1003 | | |
1000 | 1004 | | |
| |||
1161 | 1165 | | |
1162 | 1166 | | |
1163 | 1167 | | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
1164 | 1171 | | |
1165 | 1172 | | |
1166 | | - | |
1167 | 1173 | | |
1168 | 1174 | | |
1169 | 1175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
721 | 724 | | |
722 | 725 | | |
723 | 726 | | |
| |||
1262 | 1265 | | |
1263 | 1266 | | |
1264 | 1267 | | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
1265 | 1272 | | |
1266 | | - | |
1267 | 1273 | | |
1268 | 1274 | | |
1269 | 1275 | | |
| |||
0 commit comments