mirror of
https://github.com/curl/curl.git
synced 2026-05-06 11:37:28 +03:00
schannel: Fix out of bounds array
Bug born in changes made several days ago 9a91e80.
Bug: http://curl.haxx.se/mail/lib-2015-04/0199.html
Reported-by: Brian Chrisman
This commit is contained in:
parent
55db5bdff7
commit
926cb9ff65
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ schannel_connect_step2(struct connectdata *conn, int sockindex)
|
|||
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
|
||||
unsigned char *reallocated_buffer;
|
||||
size_t reallocated_length;
|
||||
SecBuffer outbuf[2];
|
||||
SecBuffer outbuf[3];
|
||||
SecBufferDesc outbuf_desc;
|
||||
SecBuffer inbuf[2];
|
||||
SecBufferDesc inbuf_desc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue