diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-26 11:58:17 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-26 13:11:43 +0000 |
commit | cdc1cc22e75bbe6434e9603c91e933171ac9edf2 (patch) | |
tree | fbad6cdbfa4fdc596c59b6770875b7411f555068 /tests/sshhelp.pm | |
parent | fe43a662a25ab3903176575f1a7e0f8a04a9adc5 (diff) |
vtls: Don't set cert info count until memory allocation is successful
Otherwise Curl_ssl_init_certinfo() can fail and set the num_of_certs
member variable to the requested count, which could then be used
incorrectly as libcurl closes down.
Diffstat (limited to 'tests/sshhelp.pm')
0 files changed, 0 insertions, 0 deletions