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
@ -283,7 +283,7 @@ schannel_connect_step2(struct connectdata *conn, int sockindex)
|
|||||||
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
|
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
|
||||||
unsigned char *reallocated_buffer;
|
unsigned char *reallocated_buffer;
|
||||||
size_t reallocated_length;
|
size_t reallocated_length;
|
||||||
SecBuffer outbuf[2];
|
SecBuffer outbuf[3];
|
||||||
SecBufferDesc outbuf_desc;
|
SecBufferDesc outbuf_desc;
|
||||||
SecBuffer inbuf[2];
|
SecBuffer inbuf[2];
|
||||||
SecBufferDesc inbuf_desc;
|
SecBufferDesc inbuf_desc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user